[1.9.x] Refs #25526 -- Documented some missing termcolors.
Backport of 5f7f3b4685
from master
This commit is contained in:
parent
e5430510dd
commit
e7c8687105
|
@ -1658,6 +1658,8 @@ number of roles in which color is used:
|
|||
|
||||
* ``error`` - A major error.
|
||||
* ``notice`` - A minor error.
|
||||
* ``success`` - A success.
|
||||
* ``warning`` - A warning.
|
||||
* ``sql_field`` - The name of a model field in SQL.
|
||||
* ``sql_coltype`` - The type of a model field in SQL.
|
||||
* ``sql_keyword`` - An SQL keyword.
|
||||
|
@ -1669,6 +1671,12 @@ number of roles in which color is used:
|
|||
* ``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.
|
||||
* ``migrate_heading`` - A heading in a migrations management command.
|
||||
* ``migrate_label`` - A migration name.
|
||||
|
||||
.. versionchanged:: 1.9
|
||||
|
||||
``success`` was added.
|
||||
|
||||
Each of these roles can be assigned a specific foreground and
|
||||
background color, from the following list:
|
||||
|
|
Loading…
Reference in New Issue