aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/views.py
diff options
context:
space:
mode:
authorJosé Padilla2014-12-14 20:47:33 -0400
committerJosé Padilla2014-12-14 20:47:33 -0400
commit4ebd8770b94ecb8fe8fb41fe8daa4309b33b9952 (patch)
tree3d7a19039a89e9c071ce1dcacc888766dc08ccf1 /rest_framework/views.py
parent26c223a34f7e0cc21d37c6302e53d547dae252dd (diff)
downloaddjango-rest-framework-4ebd8770b94ecb8fe8fb41fe8daa4309b33b9952.tar.bz2
Update excepteion_handler signature
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.