Re: [Django] #36834: UseCreationForm and UserChangeForm should use get_user_model() (was: [contrib.auth] Fixed a bug with `User` instead of `get_user_model()`)

0 views
Skip to first unread message

Django

unread,
10:20 AM (3 hours ago) 10:20 AM
to django-...@googlegroups.com
#36834: UseCreationForm and UserChangeForm should use get_user_model()
--------------------------------+------------------------------------------
Reporter: Маг Ильяс DOMA | Owner: Маг Ильяс DOMA
Type: Bug | Status: closed
Component: contrib.auth | Version: 6.0
Severity: Normal | Resolution: duplicate
Keywords: easy forms | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+------------------------------------------
Changes (by Tim Graham):

* summary: [contrib.auth] Fixed a bug with `User` instead of
`get_user_model()` => UseCreationForm and UserChangeForm should use
get_user_model()

--
Ticket URL: <https://code.djangoproject.com/ticket/36834#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages