mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-23 15:54:16 +03:00
Update excepteion_handler signature
This commit is contained in:
parent
26c223a34f
commit
4ebd8770b9
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user