1
1
mirror of https://github.com/encode/django-rest-framework.git synced 2025-08-14 01:04:46 +03:00

Update excepteion_handler signature

This commit is contained in:
José Padilla 2014-12-14 20:47:33 -04:00
parent 26c223a34f
commit 4ebd8770b9

View File

@ -48,7 +48,7 @@ def get_view_description(view_cls, html=False):
return description return description
def exception_handler(exc, context=None): def exception_handler(exc, context):
""" """
Returns the response that should be used for any given exception. Returns the response that should be used for any given exception.