Задать вопрос

Тел: +7 965 3737 888

569

Просмотров

0

Ответов

Localized Shell

<p>For historical reasons, Django commands are hard-coded to use en-us regardless of language. This includes the shell command and can lead to surprising effects if one assumes the local language to be the one set by LANGUAGE_CODE.</p>
<p>This snippets can be saved as a management command in any app, for example using the name lshell and provides a localized shell controlled by the normal LANGUAGE_CODE setting.</p>

Вопрос полезен? Да0/Нет0
file_3590.py(292.0б)
None