summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/utils/termcolors.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/django/utils/termcolors.py b/django/utils/termcolors.py
index d7305f9d5a..507b25dd77 100644
--- a/django/utils/termcolors.py
+++ b/django/utils/termcolors.py
@@ -76,6 +76,7 @@ LIGHT_PALETTE = 'light'
PALETTES = {
NOCOLOR_PALETTE: {
'ERROR': {},
+ 'SUCCESS': {},
'WARNING': {},
'NOTICE': {},
'SQL_FIELD': {},
@@ -96,6 +97,7 @@ PALETTES = {
},
DARK_PALETTE: {
'ERROR': {'fg': 'red', 'opts': ('bold',)},
+ 'SUCCESS': {'fg': 'green', 'opts': ('bold',)},
'WARNING': {'fg': 'yellow', 'opts': ('bold',)},
'NOTICE': {'fg': 'red'},
'SQL_FIELD': {'fg': 'green', 'opts': ('bold',)},
@@ -116,6 +118,7 @@ PALETTES = {
},
LIGHT_PALETTE: {
'ERROR': {'fg': 'red', 'opts': ('bold',)},
+ 'SUCCESS': {'fg': 'green', 'opts': ('bold',)},
'WARNING': {'fg': 'yellow', 'opts': ('bold',)},
'NOTICE': {'fg': 'red'},
'SQL_FIELD': {'fg': 'green', 'opts': ('bold',)},