aboutsummaryrefslogtreecommitdiffstats
path: root/djangorestframework/response.py
diff options
context:
space:
mode:
Diffstat (limited to 'djangorestframework/response.py')
-rw-r--r--djangorestframework/response.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/djangorestframework/response.py b/djangorestframework/response.py
index 6c42c898..be2c3ebe 100644
--- a/djangorestframework/response.py
+++ b/djangorestframework/response.py
@@ -162,7 +162,7 @@ class Response(SimpleTemplateResponse):
return self.renderers[0]
-class ImmediateResponse(Response, BaseException):
+class ImmediateResponse(Response, Exception):
"""
A subclass of :class:`Response` used to abort the current request handling.
"""