diff options
| author | José Padilla | 2014-12-14 20:47:33 -0400 |
|---|---|---|
| committer | José Padilla | 2014-12-14 20:47:33 -0400 |
| commit | 4ebd8770b94ecb8fe8fb41fe8daa4309b33b9952 (patch) | |
| tree | 3d7a19039a89e9c071ce1dcacc888766dc08ccf1 | |
| parent | 26c223a34f7e0cc21d37c6302e53d547dae252dd (diff) | |
| download | django-rest-framework-4ebd8770b94ecb8fe8fb41fe8daa4309b33b9952.tar.bz2 | |
Update excepteion_handler signature
| -rw-r--r-- | rest_framework/views.py | 2 |
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. |
