Code

#19074 closed Cleanup/optimization (fixed)

Small issues with custom user model documentation

Reported by: Bradley Ayers <brad@…> 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: no UI/UX: no

Description

In the example: (https://docs.djangoproject.com/en/dev/topics/auth/#a-full-example)

  • MyUserManager.create_user uses a user variable but create_superuser uses a u variable
  • Some inconsistent indentation

Attachments (0)

Change History (2)

comment:1 Changed 19 months ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted
  • Type changed from Uncategorized to Cleanup/optimization

comment:2 Changed 19 months ago by Russell Keith-Magee <russell@…>

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

In 12f39be508cab95a9841987c3df589ef69de706e:

Fixed #19074 -- Corrected some minor issues with the new custom User docs.

Thanks to Bradley Ayers for the review.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.