aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'rest_framework/views.py')
-rw-r--r--rest_framework/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/views.py b/rest_framework/views.py
index 80a13a1a..b39724c2 100644
--- a/rest_framework/views.py
+++ b/rest_framework/views.py
@@ -48,7 +48,7 @@ def get_view_description(view_cls, html=False):
return description
-def exception_handler(exc, context=None):
+def exception_handler(exc, context):
"""
Returns the response that should be used for any given exception.