Kaydet (Commit) 5f7f3b46 authored tarafından Tim Graham's avatar Tim Graham

Refs #25526 -- Documented some missing termcolors.

üst c7adfe94
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment