﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
31216	Support terminal color output on Windows via colorama	MinchinWeb	nobody	"If colorama is installed (as on Windows), support colored terminal output.

There is a very old ticket (https://code.djangoproject.com/ticket/13476) discussing how to support colorized terminal output on Windows. At the time, ANSICON was chosen as a solution over `colorama`. However, the link provided for ANSICON (http://adoxa.hostmyway.net/ansicon/) no longer works, and, personally, I struggled to install it previously (it involved messing around with DLL's and some fairly low level Windows functionality). `colorama`, on the other hand, is a current Python package that provides color on Windows by converting the ANSI cods to Windows native color ""codes""; on other platforms, it just passes through the ANSI codes through. `colorama` is also very popular: for example, it is vendored by `pip` (https://github.com/pypa/pip/tree/master/src/pip/_vendor).

What this change does is test to see if `colorama` is available, and activate color (on Windows) if it is. It is not a hard dependency or even added to the ""install_requires"" of `setup.py`. Personally, I would support adding `colorama` as a dependency on Windows, but I wasn't sure how much support there would be for that.

No documentation changes have been added, although I think this would be wise to mention in the installation instructions for Windows. No tests have been added either, but I'm not really sure what to test directly. If someone could point me to where to make those changes, I would be happy to.

Pull Request: https://github.com/django/django/pull/12387"	Bug	closed	Core (Management commands)	dev	Normal	fixed	windows, color, colorama		Accepted	1	1	0	1	0	0
