2π
β
It looks like this is due to a bug in Django related to system usernames that contain non-8-bit characters.
As a workaround, you can say βnoβ when asked to create a superuser and use the createsuperuser command to create a new superuser with a different name:
$ python manage.py syncdb
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_user_permissions
Creating table auth_user_groups
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_site
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): no
Installing index for auth.Permission model
Installing index for auth.Group_permissions model
Installing index for auth.User_user_permissions model
Installing index for auth.User_groups model
Installing index for auth.Message model
No fixtures found.
$ python manage.py createsuperuser --username yourname
E-mail address: email@example.com
Password:
Password (again):
Superuser created successfully.
π€Josh Rosen
Source:stackexchange.com