[patch] Auth System username prompt doesn't match what it accepts (does not allow underscores)
Using the current SVN, I ran my first syncdb and it didn't accept an underscore when it says it does.
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 'cmgreen'): !cmgreen
Error: That username is invalid. Use only letters, digits and underscores.
Username (Leave blank to use 'cmgreen'): _cmgreen
Error: That username is invalid. Use only letters, digits and underscores.
Username (Leave blank to use 'cmgreen'): cmgreen_
Error: That username is invalid. Use only letters, digits and underscores.
Username (Leave blank to use 'cmgreen'): cmgreen_
Error: That username is invalid. Use only letters, digits and underscores.
Username (Leave blank to use 'cmgreen'): cmgreen77
E-mail address: cmgreen@…
Change History
(6)
Summary: |
Auth System username prompt doesn't match what it accepts → [patch] Auth System username prompt doesn't match what it accepts
|
Keywords: |
username admin djangoadmin added
|
Triage Stage: |
Unreviewed → Design decision needed
|
Summary: |
[patch] Auth System username prompt doesn't match what it accepts → [patch] Auth System username prompt doesn't match what it accepts (does not allow underscores)
|
Triage Stage: |
Design decision needed → Ready for checkin
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
Assuming the validation message should stay the same, here's the fix