Opened 3 hours ago

Closed 3 hours ago

Last modified 70 minutes ago

#36834 closed Bug (duplicate)

[contrib.auth] Fixed a bug with `User` instead of `get_user_model()`

Reported by: Маг Ильяс DOMA Owned by: Маг Ильяс DOMA
Component: contrib.auth Version: 6.0
Severity: Normal Keywords: easy forms
Cc: Маг Ильяс DOMA Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Bugs fixed:

  1. In django/contrib/auth/forms.py, lines 224 and 284 changed the model value from User to UserModel (get_user_model())
  2. In django/contrib/auth/forms.py, the import from django.contrib.auth.models import User was removed

Change History (3)

comment:1 by Маг Ильяс DOMA, 3 hours ago

Summary: [contrib.auth][contrib.auth] Fixed a bug with `User` instead of `get_user_model()`

comment:2 by Маг Ильяс DOMA, 3 hours ago

Resolution: fixed
Status: assignedclosed
Triage Stage: UnreviewedAccepted

comment:3 by Mariusz Felisiak, 70 minutes ago

Easy pickings: unset
Has patch: unset
Resolution: fixedduplicate
Triage Stage: AcceptedUnreviewed

Thanks for the ticket, however, you cannot accept your own tickets. Secondly, tickets are not fixed when patch is not merged. Last by not least it is a duplicate of #28608.

Note: See TracTickets for help on using tickets.
Back to Top