Skip to content

Commit

Permalink
Removed BaseHandler.get_exception_response().
Browse files Browse the repository at this point in the history
Unused since 7d1b69d.
  • Loading branch information
timgraham committed Nov 20, 2018
1 parent 89a2216 commit cafb349
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions django/core/handlers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from django.utils.log import log_response
from django.utils.module_loading import import_string

from .exception import convert_exception_to_response, get_exception_response
from .exception import convert_exception_to_response

logger = logging.getLogger('django.request')

Expand Down Expand Up @@ -68,9 +68,6 @@ def make_view_atomic(self, view):
view = transaction.atomic(using=db.alias)(view)
return view

def get_exception_response(self, request, resolver, status_code, exception):
return get_exception_response(request, resolver, status_code, exception, self.__class__)

def get_response(self, request):
"""Return an HttpResponse object for the given HttpRequest."""
# Setup default url resolver for this thread
Expand Down

0 comments on commit cafb349

Please sign in to comment.