Ticket #11667: django_11667_patch.diff
File django_11667_patch.diff, 731 bytes (added by , 15 years ago) |
---|
-
./django/django/core/management/base.py
# Patch for http://code.djangoproject.com/ticket/11667
214 214 except ImportError, e: 215 215 # If settings should be available, but aren't, 216 216 # raise the error and quit. 217 sys.stderr.write(self.style.ERROR(str('Error: %s\n' % e))) 217 import traceback 218 sys.stderr.write(self.style.ERROR(traceback.format_exc())) 218 219 sys.exit(1) 219 220 try: 220 221 if self.requires_model_validation: