Opened 6 years ago

Closed 6 years ago

#19041 closed Bug (fixed)

createsuperuser doesn't accept default username

Reported by: Russell Keith-Magee 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 6 years ago by Russell Keith-Magee

Triage Stage: UnreviewedAccepted

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

Resolution: fixed
Status: newclosed

In 15d355d79dc26fb150776e6e019b2f667e4cb2ff:

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

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