Opened 4 years ago
Closed 4 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().
Note:
See TracTickets
for help on using tickets.
Duplicate of #28608. This is also a documented behavior.