mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #19730 -- Don't validate importability of settings by using i18n in management commands.
They are handled independently now and the latter can be influenced by the new BaseCommand.leave_locale_alone internal option. Thanks chrischambers for the report, Claude, lpiatek, neaf and gabooo for their work on a patch, originally on refs. #17379.
This commit is contained in:
@@ -39,6 +39,14 @@ Minor features
|
||||
<lazy-plural-translations>` can be provided at translation time rather than
|
||||
at definition time.
|
||||
|
||||
* For custom managemente commands: Validation of the presence of valid settings
|
||||
in managements commands that ask for it by using the
|
||||
:attr:`~django.core.management.BaseCommand.can_import_settings` internal
|
||||
option is now performed independently from handling of the locale that should
|
||||
active during the execution of the command. The latter can now be influenced
|
||||
by the new :attr:`~django.core.management.BaseCommand.leave_locale_alone`
|
||||
internal option. See :ref:`management-commands-and-locales` for more details.
|
||||
|
||||
Backwards incompatible changes in 1.6
|
||||
=====================================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user