#13569 closed (fixed)
Superuser auto-creation rejects usernames with '@', '-' or '+' characters
Reported by: | 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 , 14 years ago
milestone: | → 1.3 |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [13297]) Fixed #13569 -- Fixed createsuperuser management command to work with the new relaxed requirements for usernames.