aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/exceptions.py
diff options
context:
space:
mode:
authorTom Christie2014-09-08 14:24:05 +0100
committerTom Christie2014-09-08 14:24:05 +0100
commit21980b800d04a1d82a6003823abfdf4ab80ae979 (patch)
treed17ea3820d51028b03ab2ed63051d17bf4d55448 /rest_framework/exceptions.py
parentd934824bff21e4a11226af61efba319be227f4f0 (diff)
downloaddjango-rest-framework-21980b800d04a1d82a6003823abfdf4ab80ae979.tar.bz2
More test sorting
Diffstat (limited to 'rest_framework/exceptions.py')
-rw-r--r--rest_framework/exceptions.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/rest_framework/exceptions.py b/rest_framework/exceptions.py
index 852a08b1..06b5e8a2 100644
--- a/rest_framework/exceptions.py
+++ b/rest_framework/exceptions.py
@@ -29,11 +29,6 @@ class ParseError(APIException):
default_detail = 'Malformed request.'
-class ValidationError(APIException):
- status_code = status.HTTP_400_BAD_REQUEST
- default_detail = 'Invalid data in request.'
-
-
class AuthenticationFailed(APIException):
status_code = status.HTTP_401_UNAUTHORIZED
default_detail = 'Incorrect authentication credentials.'