Re: initial database sync throws TypeError in createsuperuser

2011-11-09 Thread Niels
On Wed, Nov 09, 2011 at 04:21:55PM +, Tom Evans wrote: > On Wed, Nov 9, 2011 at 4:03 PM, Niels wrote: > > Worse: > locale.getdefaultlocale() > > (None, None) > > > > Still i'd say this should be handled better than bailing out with an error. > > Something like ..

Re: initial database sync throws TypeError in createsuperuser

2011-11-09 Thread Andre Terra
Love the nl_NL touch Cheers, AT On Wed, Nov 9, 2011 at 2:21 PM, Tom Evans wrote: > On Wed, Nov 9, 2011 at 4:03 PM, Niels wrote: > > Worse: > locale.getdefaultlocale() > > (None, None) > > > > Still i'd say this should be handled better

Re: initial database sync throws TypeError in createsuperuser

2011-11-09 Thread Tom Evans
On Wed, Nov 9, 2011 at 4:03 PM, Niels wrote: > Worse: locale.getdefaultlocale() > (None, None) > > Still i'd say this should be handled better than bailing out with an error. > Something like .. .decode(locale.getdefaultlocale()[1] or 'ascii', 'ignore') > You simply

Re: initial database sync throws TypeError in createsuperuser

2011-11-09 Thread Niels
On Wed, Nov 09, 2011 at 03:38:23PM +, Tom Evans wrote: > On Wed, Nov 9, 2011 at 3:24 PM, Niels wrote: > > Is this a known bug? > > > > csh .. > python manage.py syncdb > > > > Creating tables ... > > Creating table auth_permission > >    default_username =

Re: initial database sync throws TypeError in createsuperuser

2011-11-09 Thread Tom Evans
On Wed, Nov 9, 2011 at 3:24 PM, Niels wrote: > Is this a known bug? > > csh .. > python manage.py syncdb > > Creating tables ... > Creating table auth_permission > Creating table auth_group_permissions > Creating table auth_group > Creating table auth_user_user_permissions

initial database sync throws TypeError in createsuperuser

2011-11-09 Thread Niels
Is this a known bug? csh .. > python manage.py syncdb Creating tables ... 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