#19757 closed Bug (fixed)
syncdb untranslated prompts for creating superuser
Reported by: | Lex Berezhny | Owned by: | nobody |
---|---|---|---|
Component: | contrib.auth | Version: | dev |
Severity: | Release blocker | Keywords: | |
Cc: | Florian Apolloner | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Using latest checkout of django-trunk with Python 2.7:
ubuntu:~/project$ ./manage.py syncdb
Creating tables ...
Creating table django_admin_log
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table django_content_type
Creating table django_session
Creating table account_user_groups
Creating table account_user_user_permissions
Creating table account_user
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 0x9a41dec>:
the prompts of username, email, password are displayed as proxy objects instead of translated strings.
Change History (3)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This should be fixed with https://github.com/django/django/commit/2390fe3f4f8f52e24157d79b0c60247207c9716f
if you can reproduce with a checkout later than that version - please do reopen.
Actually, looks like the password is fine, it's just the username and email that are not being translated:
ubuntu:~/project$ ./manage.py syncdb
Creating tables ...
Creating table django_admin_log
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table django_content_type
Creating table django_session
Creating table account_user_groups
Creating table account_user_user_permissions
Creating table account_user
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 0x9a41dec>: lex
<django.utils.functional.proxy object at 0x9ac32ec>: lex@…
Password:
Password (again):
Superuser created successfully.
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)