Refs #32694 -- Clarified when colorama requirement is needed in Windows how-to.

This commit is contained in:
Carlton Gibson 2021-04-29 11:26:38 +02:00 committed by GitHub
parent 4ab3ef238e
commit 4f128fcf5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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