﻿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
19751	Strange output while creating a superuser (works OK in v1.4)	fgimian	nobody	"Hey there guys, I noticed a little bug while working with Django 1.5 stable branch (I have also confirmed that the issue is present in master too).

My locale is en-AU which I also explicitly set in settings.py:

{{{
os.environ['LANG'] = 'en_AU.UTF-8'
TIME_ZONE = 'Australia/Melbourne'
LANGUAGE_CODE = 'en-au'
}}}

When performing an initial syncdb, I see the following when creating my superuser:

{{{
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
<django.utils.functional.__proxy__ object at 0x2e6ea90> (leave blank to use 'www-data'): admin
<django.utils.functional.__proxy__ object at 0x2e79e50>: password
Error: Enter a valid e-mail address.
<django.utils.functional.__proxy__ object at 0x2e79f10>: oops@hello.com
Password:
Password (again):
Superuser created successfully.
}}}

On the exact server, if I substitute this for Django 1.4, all is well:

{{{
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
Username (leave blank to use 'www-data'): admin
E-mail address: oops@hello.com
Password:
Password (again):
Superuser created successfully.
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
}}}

Cheers
Fotis"	Bug	closed	Core (Management commands)	dev	Normal	duplicate	locale		Unreviewed	0	0	0	0	0	0
