Opened 3 years ago

Closed 3 years ago

Last modified 2 years ago

#19588 closed Cleanup/optimization (fixed)

UserManager documentation is missing create_superuser

Reported by: minddust Owned by: nobody
Component: Documentation Version: master
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 timo 3 years ago.

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by timo

comment:1 Changed 3 years ago by timo

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 3 years ago by slurms

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

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

  • Resolution set to fixed
  • Status changed from new to closed

In 4da5947a876a4ec2cba9de8b0ef1513832328c67:

Fixed #19588 - Added create_superuser to UserManager docs.

Thanks minddust for the report.

comment:4 Changed 3 years ago by Tim Graham <timograham@…>

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 Changed 2 years ago by Tim Graham <timograham@…>

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