From a346a88d46e420d21374377c2027f78c8989503b Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Thu, 6 Oct 2016 14:27:33 +0100 Subject: [PATCH] Added missing roles/options to parse_color_setting()'s docstring. --- django/utils/termcolors.py | 10 ++++++---- 1 file 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]