summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/howto/custom-management-commands.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/howto/custom-management-commands.txt b/docs/howto/custom-management-commands.txt
index 5a091f835e..c0f8c343a0 100644
--- a/docs/howto/custom-management-commands.txt
+++ b/docs/howto/custom-management-commands.txt
@@ -259,7 +259,8 @@ All attributes can be set in your derived class and can be used in
.. attribute:: BaseCommand.leave_locale_alone
A boolean indicating whether the locale set in settings should be preserved
- during the execution of the command instead of being forcibly set to 'en-us'.
+ during the execution of the command instead of translations being
+ deactivated.
Default value is ``False``.
@@ -267,9 +268,8 @@ All attributes can be set in your derived class and can be used in
this option in your custom command if it creates database content that
is locale-sensitive and such content shouldn't contain any translations
(like it happens e.g. with :mod:`django.contrib.auth` permissions) as
- making the locale differ from the de facto default 'en-us' might cause
- unintended effects. See the `Management commands and locales`_ section
- above for further details.
+ activating any locale might cause unintended effects. See the `Management
+ commands and locales`_ section above for further details.
.. attribute:: BaseCommand.style