We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3113e8e + 9a794be commit c397705Copy full SHA for c397705
rest_framework/views.py
@@ -54,8 +54,7 @@ def exception_handler(exc, context):
54
Returns the response that should be used for any given exception.
55
56
By default we handle the REST framework `APIException`, and also
57
- Django's built-in `ValidationError`, `Http404` and `PermissionDenied`
58
- exceptions.
+ Django's built-in `Http404` and `PermissionDenied` exceptions.
59
60
Any unhandled exceptions may return `None`, which will cause a 500 error
61
to be raised.
0 commit comments