Ticket #23107: 23107.diff
File 23107.diff, 552 bytes (added by , 10 years ago) |
---|
-
django/core/management/base.py
diff --git a/django/core/management/base.py b/django/core/management/base.py index 52f4a07..a63d6e9 100644
a b class BaseCommand(object): 305 305 if options.get('no_color'): 306 306 self.style = no_style() 307 307 self.stderr = OutputWrapper(options.get('stderr', sys.stderr)) 308 os.environ.setdefault("DJANGO_COLORS", "nocolor") 308 309 else: 309 310 self.stderr = OutputWrapper(options.get('stderr', sys.stderr), self.style.ERROR) 310 311