Ticket #9847: base.2.diff

File base.2.diff, 803 bytes (added by adamnelson, 6 years ago)

core/base.diff

  • Users/adam/Development/django-trunk/django/core/handlers/base.py

     
    130130                        finally:
    131131                            receivers = signals.got_request_exception.send(sender=self.__class__, request=request)
    132132            except exceptions.PermissionDenied:
    133                 return http.HttpResponseForbidden('<h1>Permission denied</h1>')
     133                return http.HttpResponseForbidden()
    134134            except SystemExit:
    135135                # Allow sys.exit() to actually exit. See tickets #1023 and #4701
    136136                raise
Back to Top