﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
19694	python manage.py syncdb fails if no locale is set	gunther.stengl@…	nobody	"I already filed a FreeBSD Problem Report under
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/175178

- Django (py27-django-1.4.3) fails to create the db-superuser when doing a ""python mange.py syncdb"" AND ""LC_ALL"" is unset.
- ""LC_ALL="" causes the locale.getdefaultlocale() to return ""(None, None)"" which is not a String, as needed by decode().
- If LC_ALL is set correctly, the scripts runs as expected.

I posted a porposal for a patch, but on the other hand there's the question if django should run ""manage.py syncdb"" o  a system where locale.getdefaultlocale() returns 'None' instead of string. As far as I have seen, there's a lot of decoding done with locales, etc.

Thanks in advance.
Gunther
"	Uncategorized	closed	Core (Management commands)	1.4	Normal	duplicate			Unreviewed	0	0	0	0	0	0
