django.utils.translation reads DJANGO_SETTINGS_MODULE
|Reported by:||ianb@…||Owned by:||hugo|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When installing the locale files, the translation module looks in the environment for DJANGO_SETTINGS_MODULE. Instead it should read the settings.__file__ attribute, or maybe have a setting that django.conf.settings fills in (by default) from the module name like translation currently does. Whatever it does, that kind of logic doesn't need to be in the translation module.