mirror of https://github.com/django/django.git
Refs #25526 -- Documented some missing termcolors.
This commit is contained in:
parent
c7adfe941b
commit
5f7f3b4685
|
@ -1644,6 +1644,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.
|
||||
|
@ -1655,6 +1657,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