mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Fixed #7679 -- Added (configurable) highlighting colors to the development server. Thanks to Rob Hudson, hunteke, and Bastian Kleineidam for the various patches that contributed to the final result.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
e07560a88e
commit
77e27e7de7
3 changed files with 49 additions and 2 deletions
|
@ -1026,6 +1026,12 @@ number of roles in which color is used:
|
|||
* ``sql_coltype`` - The type of a model field in SQL.
|
||||
* ``sql_keyword`` - A SQL keyword.
|
||||
* ``sql_table`` - The name of a model in SQL.
|
||||
* ``http_info`` - A 1XX HTTP Informational server response.
|
||||
* ``http_success`` - A 2XX HTTP Success server response.
|
||||
* ``http_redirect`` - A 3XX HTTP Redirect server response.
|
||||
* ``http_not_found`` - A 404 HTTP Not Found server response.
|
||||
* ``http_bad_request`` - A 4XX HTTP Bad Request server response other than 404.
|
||||
* ``http_server_error`` - A 5XX HTTP Server Error response.
|
||||
|
||||
Each of these roles can be assigned a specific foreground and
|
||||
background color, from the following list:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue