Opened 5 years ago
Closed 5 years ago
#31876 closed Bug (invalid)
UserManager._create_user does not respect USERNAME_FIELD
| Reported by: | Andrew Zhou | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.auth | Version: | 3.1 |
| 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
In the default UserManager, create_user and create_superuser do not respect USERNAME_FIELD.
Change History (1)
comment:1 by , 5 years ago
| Easy pickings: | unset |
|---|---|
| Resolution: | → invalid |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Please check the docs, you should define a custom manager for a custom user model.