Opened 3 years ago

Closed 3 years ago

#32881 closed Cleanup/optimization (duplicate)

Inconsistent user models in contrib.auth.forms

Reported by: Milan Voršilák Owned by: nobody
Component: contrib.auth Version: 3.2
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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().

Change History (1)

comment:1 by Mariusz Felisiak, 3 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #28608. This is also a documented behavior.

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