[Django] #32881: Inconsistent user models in contrib.auth.forms

7 views
Skip to first unread message

Django

unread,
Jun 24, 2021, 7:33:48 AM6/24/21
to django-...@googlegroups.com
#32881: Inconsistent user models in contrib.auth.forms
------------------------------------------------+------------------------
Reporter: Milan Voršilák | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: contrib.auth | Version: 3.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
Inconsistent user models in contrib.auth.forms, ModelForms use
contrib.auth.models.User and other forms use model obtained with
contrib.auth.get_user_model().

--
Ticket URL: <https://code.djangoproject.com/ticket/32881>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 24, 2021, 7:40:45 AM6/24/21
to django-...@googlegroups.com
#32881: Inconsistent user models in contrib.auth.forms
-------------------------------------+-------------------------------------

Reporter: Milan Voršilák | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: contrib.auth | Version: 3.2
Severity: Normal | Resolution: duplicate

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 Mariusz Felisiak):

* status: new => closed
* resolution: => duplicate


Comment:

Duplicate of #28608. This is also a
[https://docs.djangoproject.com/en/stable/topics/auth/customizing/#custom-
users-and-the-built-in-auth-forms documented] behavior.

--
Ticket URL: <https://code.djangoproject.com/ticket/32881#comment:1>

Reply all
Reply to author
Forward
0 new messages