While setting up a new remote server for a new Django Application I am currently working on, I encountered following error as entered yes to create superuser after I entered syncdb command for the first time.
1 | ValueError: unknown locale: UTF-8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | (django1.5)[root@DXDS2102 testdjango] # python manage.py syncdb Creating tables ... Creating table auth_permission Creating table auth_group_permissions Creating table auth_group Creating table auth_user_groups Creating table auth_user_user_permissions Creating table auth_user 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 ): yes ValueError: unknown locale: UTF-8 |
1 2 | export LC_CTYPE=en_US.UTF-8 export LC_ALL=en_US.UTF-8 |
1 | python manage.py createsuperuser |
No comments:
Post a Comment