Check the docs, there is a manage.py command to create superusers once the DB is sync'd:
https://docs.djangoproject.com/en/1.4/ref/django-admin/#createsuperuser Regards, Carlos Ruvalcaba On Mon, Jan 7, 2013 at 7:50 PM, Skip Montanaro <skip.montan...@gmail.com> wrote: > get_system_username >> >> return getpass.getuser().decode(locale.getdefaultlocale()[1]) >> TypeError: decode() argument 1 must be string, not None >> >> >> I'm on a Mac, which has minimally broken locale support. I went back to >> settings.py and set USE_L10N to False. After that, the syncdb command >> worked, but I don't have a superuser. > > > Actually, the USE_L10N was a red herring. I thought that because subsequent > syncdb commands succeeded that this change fixed the problem. I discovered > the createsuperuser command. That still fails with the decode() error. > > Skip > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/iDGOBYozviYJ. > > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.