Opened 15 years ago

Closed 14 years ago

Last modified 13 years ago

#13569 closed (fixed)

Superuser auto-creation rejects usernames with '@', '-' or '+' characters

Reported by: steve@… Owned by: nobody
Component: Uncategorized Version: 1.2
Severity: 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

Despite the change that allows username fields to now contain '@', '-' or '+', the auto-creation system still fails with an error:

I created a new project and app and ran a syncdb and got the following:

You just installed Django's auth system, which means you don't have any superusers defined.
Would you like to create one now? (yes/no): yes
Username (Leave blank to use 'root'): steve@…
Error: That username is invalid. Use only letters, digits and underscores.

Change History (3)

comment:1 by Russell Keith-Magee, 14 years ago

milestone: 1.3
Triage Stage: UnreviewedAccepted

comment:2 by Jannis Leidel, 14 years ago

Resolution: fixed
Status: newclosed

(In [13297]) Fixed #13569 -- Fixed createsuperuser management command to work with the new relaxed requirements for usernames.

comment:3 by Jacob, 13 years ago

milestone: 1.3

Milestone 1.3 deleted

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