2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-16 17:56:30 +00:00

Style fixes

This commit is contained in:
Oliver Walters
2017-04-16 01:01:48 +10:00
parent 2e133b7744
commit 7e1fbf8a04
9 changed files with 4 additions and 28 deletions

View File

@@ -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: