We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I can't understand why if I try to edit my user profile with:
PUT http://127.0.0.1:8000/rest-auth/user/ Headers Authorization token
Body first_name A name changed email My email
I get back my user info (i use a Custom User with a custom serializer), but is_active is set to false, and furthermore first_name is not changed.
Here my custom serializer:
from rest_auth.serializers import UserDetailsSerializer from django.contrib.auth import get_user_model class UserSerializer(UserDetailsSerializer): class Meta: model = get_user_model() exclude = ('password', 'is_superuser', 'is_staff')
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I can't understand why if I try to edit my user profile with:
PUT http://127.0.0.1:8000/rest-auth/user/
Headers
Authorization token
Body
first_name A name changed
email My email
I get back my user info (i use a Custom User with a custom serializer), but is_active is set to false, and furthermore first_name is not changed.
Here my custom serializer:
The text was updated successfully, but these errors were encountered: