Comments (1)
Internal Server Error: /dj-rest-auth/registration/
Traceback (most recent call last):
File "/home/code/.local/lib/python3.10/site-packages/asgiref/sync.py", line 534, in thread_handler
raise exc_info[1]
File "/home/code/.local/lib/python3.10/site-packages/django/core/handlers/exception.py", line 42, in inner
response = await get_response(request)
File "/home/code/.local/lib/python3.10/site-packages/django/core/handlers/base.py", line 253, in _get_response_async
response = await wrapped_callback(
File "/home/code/.local/lib/python3.10/site-packages/asgiref/sync.py", line 479, in call
ret: _R = await loop.run_in_executor(
File "/home/code/.local/lib/python3.10/site-packages/asgiref/current_thread_executor.py", line 40, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/code/.local/lib/python3.10/site-packages/asgiref/sync.py", line 538, in thread_handler
return func(*args, **kwargs)
File "/home/code/.local/lib/python3.10/site-packages/django/views/decorators/csrf.py", line 65, in _view_wrapper
return view_func(request, *args, **kwargs)
File "/home/code/.local/lib/python3.10/site-packages/django/views/generic/base.py", line 104, in view
return self.dispatch(request, *args, **kwargs)
File "/home/code/.local/lib/python3.10/site-packages/django/utils/decorators.py", line 48, in _wrapper
return bound_method(*args, **kwargs)
File "/home/code/.local/lib/python3.10/site-packages/django/views/decorators/debug.py", line 143, in sensitive_post_parameters_wrapper
return view(request, *args, **kwargs)
File "/home/code/.local/lib/python3.10/site-packages/dj_rest_auth/registration/views.py", line 42, in dispatch
return super().dispatch(*args, **kwargs)
File "/home/code/.local/lib/python3.10/site-packages/rest_framework/views.py", line 509, in dispatch
response = self.handle_exception(exc)
File "/home/code/.local/lib/python3.10/site-packages/rest_framework/views.py", line 469, in handle_exception
self.raise_uncaught_exception(exc)
File "/home/code/.local/lib/python3.10/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
raise exc
File "/home/code/.local/lib/python3.10/site-packages/rest_framework/views.py", line 506, in dispatch
response = handler(request, *args, **kwargs)
File "/home/code/.local/lib/python3.10/site-packages/rest_framework/generics.py", line 194, in post
return self.create(request, *args, **kwargs)
File "/home/code/.local/lib/python3.10/site-packages/dj_rest_auth/registration/views.py", line 64, in create
user = self.perform_create(serializer)
File "/home/code/.local/lib/python3.10/site-packages/dj_rest_auth/registration/views.py", line 90, in perform_create
complete_signup(
File "/home/code/.local/lib/python3.10/site-packages/allauth/account/utils.py", line 192, in complete_signup
return perform_login(
File "/home/code/.local/lib/python3.10/site-packages/allauth/account/utils.py", line 159, in perform_login
return flows.login.perform_login(request, login)
File "/home/code/.local/lib/python3.10/site-packages/allauth/account/internal/flows/login.py", line 36, in perform_login
return resume_login(request, login)
File "/home/code/.local/lib/python3.10/site-packages/allauth/account/internal/flows/login.py", line 50, in resume_login
response = adapter.post_login(request, login.user, **hook_kwargs)
File "/home/code/.local/lib/python3.10/site-packages/allauth/account/adapter.py", line 479, in post_login
signals.user_logged_in.send(
File "/home/code/.local/lib/python3.10/site-packages/django/dispatch/dispatcher.py", line 189, in send
response = receiver(signal=self, sender=sender, **named)
File "/home/code/.local/lib/python3.10/site-packages/allauth/usersessions/signals.py", line 8, in on_user_logged_in
UserSession.objects.create_from_request(request)
File "/home/code/.local/lib/python3.10/site-packages/allauth/usersessions/models.py", line 25, in create_from_request
raise ValueError()
ValueError
HTTP POST /dj-rest-auth/registration/ 500 [0.53, 127.0.0.1:59546]
The full log from terminal. Hope this helps.
from dj-rest-auth.
Related Issues (20)
- Allauth ACCOUNT_EMAIL_NOTIFICATIONS not working HOT 1
- AttributeError: 'str' object has no attribute 'get'
- User does not have an associated token after registration, when Token authentication is used alongside Session authentication, and allauth `EMAIL_VERIFICATION != EmailVerificationMethod.MANDATORY`
- Support django 5+ HOT 1
- Need Customized Email Template for User Registration
- How to set the jwt token expiration correctly? HOT 2
- How to manually generate uid and token for password reset
- Doesn't support Android Credential Manager for Google login from android
- allauth ACCOUNT_UNIQUE_EMAIL doesn't work as expected HOT 1
- How to change activate_url in dj-rest-auth after registration? HOT 1
- "Partitioned" attribute needed for the set-cookie header
- Password Reset Custom Email HOT 1
- For apps defined in the settings save will give an error
- erroneous imports leading to breakage in `django-allauth 0.62.x` HOT 1
- AssertionError at /api/google/login/: No exception message supplied
- Feature Request: Allow configuration for auto linking social account and local account for google provider
- Getting "password is too common" error, but the user is still being created in the database with the provided data.
- Encountering MultipleObjectsReturned Exception During Social Authentication
- OAuth2Provider.get_scope() takes 1 positional argument but 2 were given HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dj-rest-auth.