diff options
| author | Nick Pope <nick.pope@flightdataservices.com> | 2016-10-06 14:27:33 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-10-11 10:39:32 -0400 |
| commit | a346a88d46e420d21374377c2027f78c8989503b (patch) | |
| tree | adb2d0fabe11664897e63914309d3aa782e4d0ad /django/utils/termcolors.py | |
| parent | 81463ce0a147dbbc8a0c7d2ae0d5ca02cce97984 (diff) | |
Added missing roles/options to parse_color_setting()'s docstring.
Diffstat (limited to 'django/utils/termcolors.py')
| -rw-r--r-- | django/utils/termcolors.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/django/utils/termcolors.py b/django/utils/termcolors.py index e36b3639d8..c7b63336b4 100644 --- a/django/utils/termcolors.py +++ b/django/utils/termcolors.py @@ -154,15 +154,17 @@ def parse_color_setting(config_string): definition will augment the base palette definition. Valid roles: - 'error', 'notice', 'sql_field', 'sql_coltype', 'sql_keyword', 'sql_table', - 'http_info', 'http_success', 'http_redirect', 'http_bad_request', - 'http_not_found', 'http_server_error' + 'error', 'success', 'warning', 'notice', 'sql_field', 'sql_coltype', + 'sql_keyword', 'sql_table', 'http_info', 'http_success', + 'http_redirect', 'http_not_modified', 'http_bad_request', + 'http_not_found', 'http_server_error', 'migrate_heading', + 'migrate_label' Valid colors: 'black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white' Valid options: - 'bold', 'underscore', 'blink', 'reverse', 'conceal' + 'bold', 'underscore', 'blink', 'reverse', 'conceal', 'noreset' """ if not config_string: return PALETTES[DEFAULT_PALETTE] |
