LANGUAGE_CODE settings are ignored
|Reported by:||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When using Django with runfcgi the language settings (settings.LANGUAGE_CODE) are get overriden.
Initially the correct files are loaded, but afterwards reset to en-us. This does not happen with runserver.
The culprit seems to be django.core.management.execute_from_command_line, which forcefully sets the language for most actions.
Commenting the call to translation.active out results in the expected behaviour.
Change History (6)
comment:1 Changed 10 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|