summaryrefslogtreecommitdiff
path: root/django/utils/termcolors.py
diff options
context:
space:
mode:
authorAndrew Godwin <andrew@aeracode.org>2013-07-26 16:52:17 +0100
committerAndrew Godwin <andrew@aeracode.org>2013-07-26 16:52:17 +0100
commitd5ca1693341daccce9b0dd8504967a56b289d92f (patch)
treef53b4a01db804e4cd299c24d00f3cbef98456c03 /django/utils/termcolors.py
parent52643a69e3fac42c14143f3ca71ec9f5b7e64296 (diff)
Fix "OK" alignment in migrate output
Diffstat (limited to 'django/utils/termcolors.py')
-rw-r--r--django/utils/termcolors.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/django/utils/termcolors.py b/django/utils/termcolors.py
index 3562fa4fb5..95d0d17f0f 100644
--- a/django/utils/termcolors.py
+++ b/django/utils/termcolors.py
@@ -88,6 +88,8 @@ PALETTES = {
'HTTP_SERVER_ERROR': {},
'MIGRATE_HEADING': {},
'MIGRATE_LABEL': {},
+ 'MIGRATE_SUCCESS': {},
+ 'MIGRATE_FAILURE': {},
},
DARK_PALETTE: {
'ERROR': { 'fg': 'red', 'opts': ('bold',) },
@@ -105,6 +107,8 @@ PALETTES = {
'HTTP_SERVER_ERROR': { 'fg': 'magenta', 'opts': ('bold',) },
'MIGRATE_HEADING': { 'fg': 'cyan', 'opts': ('bold',) },
'MIGRATE_LABEL': { 'opts': ('bold',) },
+ 'MIGRATE_SUCCESS': { 'fg': 'green', 'opts': ('bold',) },
+ 'MIGRATE_FAILURE': { 'fg': 'red', 'opts': ('bold',) },
},
LIGHT_PALETTE: {
'ERROR': { 'fg': 'red', 'opts': ('bold',) },
@@ -122,6 +126,8 @@ PALETTES = {
'HTTP_SERVER_ERROR': { 'fg': 'magenta', 'opts': ('bold',) },
'MIGRATE_HEADING': { 'fg': 'cyan', 'opts': ('bold',) },
'MIGRATE_LABEL': { 'opts': ('bold',) },
+ 'MIGRATE_SUCCESS': { 'fg': 'green', 'opts': ('bold',) },
+ 'MIGRATE_FAILURE': { 'fg': 'red', 'opts': ('bold',) },
}
}
DEFAULT_PALETTE = DARK_PALETTE