#19588 closed Cleanup/optimization (fixed)
UserManager documentation is missing create_superuser
| Reported by: | Stephan Groß | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
the method create_superuser is missing from UserManager documentation. here-1
instead there is make_random_password which comes from BaseUserManager (and is already documented there - here-2)
here-1: https://docs.djangoproject.com/en/dev/ref/contrib/auth/#manager-methods
here-2: https://docs.djangoproject.com/en/dev/topics/auth/customizing/#django.contrib.auth.models.BaseUserManager
Attachments (1)
Change History (6)
by , 13 years ago
| Attachment: | 19588.diff added |
|---|
comment:1 by , 13 years ago
| Has patch: | set |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 13 years ago
comment:3 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Small issue: the patch is missing a closing parenthesis on line 11. Other than that, it looks good.