You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think you didn't update the USERNAME Field in your model. If you want to use email as a username you must change the USERNAME field.
Djoser uses the get_user_model method to get the User model of the project so after that it uses the field called USERNAME_FIELD from the model like below.
{ "current_password": "@Test111", "re_new_email": "[email protected]", "new_email": "[email protected]" }
Request Type: POST
The text was updated successfully, but these errors were encountered: