Opened 4 years ago

Closed 4 years ago

#19041 closed Bug (fixed)

createsuperuser doesn't accept default username

Reported by: russellm Owned by: nobody
Component: contrib.auth Version: master
Severity: Release blocker Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


The createsuperuser command prompts for a username, saying '(leave blank to use u'rkm')".

However, after the merge of the #3011 changes, a blank username is rejected as invalid input.

Also, the prompt shouldn't include the u prefix.

Change History (2)

comment:1 Changed 4 years ago by russellm

  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 4 years ago by Russell Keith-Magee <russell@…>

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

In 15d355d79dc26fb150776e6e019b2f667e4cb2ff:

Fixed #19041 -- Corrected the handling of default usernames in createsuperuser.

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