Opened 13 years ago
Closed 13 years ago
#19191 closed Bug (fixed)
Typo in CustomUser docs.
| Reported by: | Brandon Carl | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | 1.4 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
The first codeblock under: https://docs.djangoproject.com/en/dev/topics/auth/#django.contrib.auth.models.CustomUser.User.USERNAME_FIELD
"identifier" is misspelled.
class MyUser(AbstractBaseUser):
identfier = models.CharField(max_length=40, unique=True, db_index=True)
...
USERNAME_FIELD = 'identifier'
Change History (2)
comment:1 by , 13 years ago
| Easy pickings: | set |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
| Type: | Uncategorized → Bug |
comment:2 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 90c76564669fa03caefcf4318ffdf9ba8fa4d40b: