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 19730 Action triggered by django.core.management.base.BaseCommand.can_import_settings is a side effect of i18n locale handling Ramiro Morales nobody "As discussed in #17379 (from https://code.djangoproject.com/ticket/17379#comment:7): ''can_import_settings was supposed to check if settings are available before execution of a command according to documentation (​https://docs.djangoproject.com/en/dev/howto/custom-management-commands/#BaseCommand.can_import_settings). It was doing that only by coincidence… it was doing that by forcing en_us locale via translation module which relies on settings.'' This ticket will act as a dependancy of #17379." New feature closed Core (Management commands) 1.4 Normal fixed Unreviewed 0 0 0 0 0 0