djoser
djoser copied to clipboard
REST implementation of Django authentication system.
Implemented changes requested by @haxoza
Changes to address #213 REREGISTRATION_SHOW_RESPONSE ---------------------------- If ``False`` (default), the ``/register/`` endpoint will always return a ``HTTP_201_CREATED`` response, as well as the UserSerializer serializer.data response of one of those users,...
when I set `"LOGIN_FIELD":` "email", to "username"` It gives me the following error when I call the `{{api}}/account/users/` api What do I do? ![Screenshot 2021-05-11 at 15 26 30](https://user-images.githubusercontent.com/58259539/117832299-4690b480-b26d-11eb-9924-2257060c0293.png) _Originally...
I am getting the error _ if len(password) < self.min_length: TypeError: object of type 'NoneType' has no len()_ when i try to update user name yet there is no password...
first of all thanks for this awesome package the thing is i thought that would be good if 2-factor login be added to this package as a new option what...
This may also be related to #431? My custom user model uses `USERNAME_FIELD = "email"`. And my settings for DJOSER has `"LOGIN_FIELD": "email"`. With the `users/me` endpoint I can `PATCH`...
Installing Djoser 2.1.0 through pip seems to also install djangorestframework-simplejwt, social-auth-app-django, coreapi etc. by default. The documentation states that these should (can) be installed only when needed. Those two packages...
Is there a way to include `List-Unsubscribe` header to registration email?
There was a bug that slipped to the `djangorestframework-simplejwt` package which has been already fixed in 5.0.0 but the latest djoser dependency is
`PasswordSerializer` is sending `AnonymousUser` to the `validate_password` function because it first grabs the user from the `self.context["request"]` and this will always be populated with at least `AnonymousUser`. In a password...