Skip to content

Commit 5825fb6

Browse files
committed
Fixed #12800 -- Clarified the text describing the palettes available to django-admin.py, and when they will be used. Thanks to rasmus and Karen Tracey for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12517 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent a555df4 commit 5825fb6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/ref/django-admin.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,18 +1002,18 @@ Extra niceties
10021002
Syntax coloring
10031003
---------------
10041004

1005-
The ``django-admin.py`` / ``manage.py`` commands that output SQL to
1006-
standard output will use pretty color-coded output if your terminal
1007-
supports ANSI-colored output. It won't use the color codes if you're
1008-
piping the command's output to another program.
1005+
The ``django-admin.py`` / ``manage.py`` commands will use pretty
1006+
color-coded output if your terminal supports ANSI-colored output. It
1007+
won't use the color codes if you're piping the command's output to
1008+
another program.
10091009

10101010
The colors used for syntax highlighting can be customized. Django
10111011
ships with three color palettes:
10121012

10131013
* ``dark``, suited to terminals that show white text on a black
10141014
background. This is the default palette.
10151015

1016-
* ``light``, suited to terminals that show white text on a black
1016+
* ``light``, suited to terminals that show black text on a white
10171017
background.
10181018

10191019
* ``nocolor``, which disables syntax highlighting.

0 commit comments

Comments
 (0)