mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-16 17:56:30 +00:00
Style fixes
This commit is contained in:
@@ -1,13 +1,9 @@
|
||||
from rest_framework.views import exception_handler
|
||||
|
||||
|
||||
#class APIValidationError()
|
||||
|
||||
def api_exception_handler(exc, context):
|
||||
response = exception_handler(exc, context)
|
||||
|
||||
#print(response)
|
||||
|
||||
# Now add the HTTP status code to the response.
|
||||
if response is not None:
|
||||
|
||||
|
Reference in New Issue
Block a user