diff -r ebaad720f88b -r 526ebd3988b0 web/lib/django_extensions/management/color.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web/lib/django_extensions/management/color.py Wed Jan 20 12:37:40 2010 +0100 @@ -0,0 +1,13 @@ +""" +Sets up the terminal color scheme. +""" + +from django.core.management import color +from django.utils import termcolors + +def color_style(): + style = color.color_style() + style.URL = termcolors.make_style(fg='green', opts=('bold',)) + style.MODULE = termcolors.make_style(fg='yellow') + style.MODULE_NAME = termcolors.make_style(opts=('bold',)) + return style