From 9a9620dda649dcdb685662bbd9cb409bfeff4214 Mon Sep 17 00:00:00 2001 From: Sulabh Katila Date: Wed, 30 Aug 2023 23:03:30 -0400 Subject: Fixed #34768 -- Avoided initializing colorama on non-Windows platforms. --- docs/howto/windows.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/howto') diff --git a/docs/howto/windows.txt b/docs/howto/windows.txt index fbac82f967..d0d2b9a119 100644 --- a/docs/howto/windows.txt +++ b/docs/howto/windows.txt @@ -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. -- cgit v1.3