Ticket #21668: 21668.diff

File 21668.diff, 506 bytes (added by ANUBHAV JOSHI, 10 years ago)
  • django/core/handlers/base.py

    diff --git a/django/core/handlers/base.py b/django/core/handlers/base.py
    index 2d1d61c..d5afc7b 100644
    a b class BaseHandler(object):  
    183183                    'status_code': 400,
    184184                    'request': request
    185185                })
     186            if settings.DEBUG:
     187                return debug.technical_500_response(request, *exc_info)
    186188
    187189            response = self.get_exception_response(request, resolver, 400)
    188190
Back to Top