diff options
Diffstat (limited to 'docs/howto')
| -rw-r--r-- | docs/howto/custom-management-commands.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/howto/custom-management-commands.txt b/docs/howto/custom-management-commands.txt index 1a8ba63a24..309e5c12ed 100644 --- a/docs/howto/custom-management-commands.txt +++ b/docs/howto/custom-management-commands.txt @@ -102,8 +102,8 @@ default options such as :djadminopt:`--verbosity` and :djadminopt:`--traceback`. The :meth:`BaseCommand.execute` method sets the hardcoded ``en-us`` locale because the commands shipped with Django perform several tasks - (for example, user-visible content and database population) that require - a system-neutral string language (for which we use ``en-us``). + (for example, user-facing content rendering and database population) that + require a system-neutral string language (for which we use ``en-us``). If your custom management command uses another locale, you should manually activate and deactivate it in your :meth:`~BaseCommand.handle` or |
