diff options
author | Carlton Gibson <carlton@noumenal.es> | 2021-04-29 11:26:38 +0200 |
---|---|---|
committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2021-04-29 11:27:39 +0200 |
commit | d716d30a19cc1b4b20f073181ef909905d2915a4 (patch) | |
tree | 564a6024271feaa04f87911abcee62ab9eca38dd | |
parent | 263ee4434fe814ee15ef231549273f16d7fad520 (diff) | |
download | django-d716d30a19cc1b4b20f073181ef909905d2915a4.tar.gz |
[3.2.x] Refs #32694 -- Clarified when colorama requirement is needed in Windows how-to.
Backport of 4f128fcf5dd5099a5ea374a87cad64852a9b62dd from main
-rw-r--r-- | docs/howto/windows.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/howto/windows.txt b/docs/howto/windows.txt index 5601d1b958..5dc1c3ef0d 100644 --- a/docs/howto/windows.txt +++ b/docs/howto/windows.txt @@ -96,12 +96,13 @@ Colored terminal output .. versionadded:: 3.2 -A quality-of-life feature is to output colored (rather than monochrome) output -on the terminal. This should work both on CMD and PowerShell. If for some -reason this needs to be disabled, set the environmental variable +A quality-of-life feature adds colored (rather than monochrome) output to the +terminal. In modern terminals this should work for both CMD and PowerShell. If +for some reason this needs to be disabled, set the environmental variable :envvar:`DJANGO_COLORS` to ``nocolor``. -To enable this, colorama_ must be installed:: +On older Windows versions, or legacy terminals, colorama_ must be installed to +enable syntax coloring:: ...\> py -m pip install colorama |