#31876: UserManager._create_user does not respect USERNAME_FIELD
------------------------------+--------------------------------------
Reporter: 0az | Owner: nobody
Type: Bug | Status: closed
Component: contrib.auth | Version: 3.1
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+--------------------------------------
Changes (by felixxm):
* status: new => closed
* resolution: => invalid
* easy: 1 => 0
Comment:
Please check the
[https://docs.djangoproject.com/en/3.1/topics/auth/customizing/#writing-a
-manager-for-a-custom-user-model docs], you should define a custom manager
for a custom user model.
--
Ticket URL: <https://code.djangoproject.com/ticket/31876#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/061.eaa5798589ab04134f5cc2de10288f91%40djangoproject.com.