Ticket #9120: 20090423.diff

File 20090423.diff, 619 bytes (added by Luc Saffre, 15 years ago)
  • django/core/management/base.py

     
    214214            except ImportError, e:
    215215                # If settings should be available, but aren't,
    216216                # raise the error and quit.
    217                 sys.stderr.write(self.style.ERROR(str('Error: %s\n' % e)))
     217                import traceback
     218                traceback.print_exc(e)
    218219                sys.exit(1)
    219220        try:
    220221            if self.requires_model_validation:
Back to Top