Superuser auto-creation rejects usernames with '@', '-' or '+' characters
|Reported by:||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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.