| author | ymh <ymh.work@gmail.com> |
| Thu, 05 Aug 2010 17:28:09 +0200 | |
| changeset 50 | 012451a812f1 |
| parent 3 | 526ebd3988b0 |
| permissions | -rw-r--r-- |
""" 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