[3.2.x] Refs #32694 -- Clarified when colorama requirement is needed in Windows how-to.

Backport of 4f128fcf5d from main
This commit is contained in:
Carlton Gibson 2021-04-29 11:26:38 +02:00 committed by Carlton Gibson
parent 263ee4434f
commit d716d30a19
1 changed files with 5 additions and 4 deletions

View File

@ -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