diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2013-12-02 23:11:59 -0300 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2013-12-02 23:18:04 -0300 |
| commit | 12615dab78cb6fc7d8c74b7b65a4136b0feeb33f (patch) | |
| tree | 359adab8da9c791e7539f048b20bb630ca8920c7 /docs/ref | |
| parent | c75dd664cf70a159257337c3eda978de2bec9e7a (diff) | |
Fixed #13476 -- Added support for color in console output under Windows.
Detect and use the services of the ANSICON third-party tool if it's
available.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/django-admin.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 69555dcb5c..cac7a5bc22 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -1552,6 +1552,11 @@ color-coded output if your terminal supports ANSI-colored output. It won't use the color codes if you're piping the command's output to another program. +Under Windows, the native console doesn't support ANSI escape sequences so by +default there is no color output. But you can install the `ANSICON`_ +third-party tool, the Django commands will detect its presence and will make +use of its services to color output just like on Unix-based platforms. + The colors used for syntax highlighting can be customized. Django ships with three color palettes: @@ -1636,6 +1641,14 @@ would specify the use of all the colors in the light color palette, *except* for the colors for errors and notices which would be overridden as specified. +.. versionadded:: 1.7 + +Support for color-coded output from ``django-admin.py`` / ``manage.py`` +utilities on Windows by relying on the ANSICON application was added in Django +1.7. + +.. _ANSICON: http://adoxa.hostmyway.net/ansicon/ + Bash completion --------------- |
