Remove very old unused file

This commit is contained in:
Oliver 2021-11-18 20:08:24 +11:00
parent 0dd3389518
commit 4aeac79ba5

View File

@ -1,13 +0,0 @@
from rest_framework.views import exception_handler
def api_exception_handler(exc, context):
response = exception_handler(exc, context)
# Now add the HTTP status code to the response.
if response is not None:
data = {'error': response.data}
response.data = data
return response