mirror of
https://github.com/django/django.git
synced 2025-08-30 23:37:50 +00:00
Fixed #34768 -- Avoided initializing colorama on non-Windows platforms.
This commit is contained in:
parent
9cc0d7f7f8
commit
9a9620dda6
6 changed files with 10 additions and 7 deletions
|
@ -103,12 +103,12 @@ 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``.
|
||||
|
||||
On older Windows versions, or legacy terminals, :pypi:`colorama` must be
|
||||
On older Windows versions, or legacy terminals, :pypi:`colorama` 0.4.6+ must be
|
||||
installed to enable syntax coloring:
|
||||
|
||||
.. code-block:: doscon
|
||||
|
||||
...\> py -m pip install colorama
|
||||
...\> py -m pip install "colorama >= 0.4.6"
|
||||
|
||||
See :ref:`syntax-coloring` for more information on color settings.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue