#14620 closed (duplicate)
django.utils.translation.get_language doesn't use settings
Reported by: | Julian | Owned by: | nobody |
---|---|---|---|
Component: | Core (Other) | Version: | 1.2 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I'm using the test_suite option in my settings.py setup. When specifying a LANGUAGE_CODE l10n in form-fields doesn't work properly. I've figured out that django.utils.translation.get_language isn't working as expected. Please check out my test app to find out.
I'm sorry but I can't provide a patch.
When using this app withing a djangoproject with a LANGUAGE_CODE set, everything's working fine.
Change History (3)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
I believe this is a duplicate of #9340
comment:3 by , 14 years ago
ok, seems to be a related bug at least. to make it clear again:
python setup.py test
fails, but installing language_bug into a project and then
python manage.py test
works.
sorry, it should've read 'in my setup.py setup' not 'in my settings.py setup'.