Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#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)

19588.diff (2.1 KB ) - added by Tim Graham 12 years ago.

Download all attachments as: .zip

Change History (6)

by Tim Graham, 12 years ago

Attachment: 19588.diff added

comment:1 by Tim Graham, 12 years ago

Has patch: set
Triage Stage: UnreviewedAccepted

comment:2 by Nick Sandford, 12 years ago

Small issue: the patch is missing a closing parenthesis on line 11. Other than that, it looks good.

comment:3 by Tim Graham <timograham@…>, 12 years ago

Resolution: fixed
Status: newclosed

In 4da5947a876a4ec2cba9de8b0ef1513832328c67:

Fixed #19588 - Added create_superuser to UserManager docs.

Thanks minddust for the report.

comment:4 by Tim Graham <timograham@…>, 12 years ago

In 72ef63bf86b12e752f186d562d9094cfde30af27:

[1.5.x] Fixed #19588 - Added create_superuser to UserManager docs.

Thanks minddust for the report.

Backport of 4da5947a87 from master

comment:5 by Tim Graham <timograham@…>, 12 years ago

In 72ef63bf86b12e752f186d562d9094cfde30af27:

[1.5.x] Fixed #19588 - Added create_superuser to UserManager docs.

Thanks minddust for the report.

Backport of 4da5947a87 from master

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