diff options
| author | Tom Christie | 2014-09-08 14:24:05 +0100 |
|---|---|---|
| committer | Tom Christie | 2014-09-08 14:24:05 +0100 |
| commit | 21980b800d04a1d82a6003823abfdf4ab80ae979 (patch) | |
| tree | d17ea3820d51028b03ab2ed63051d17bf4d55448 /rest_framework/exceptions.py | |
| parent | d934824bff21e4a11226af61efba319be227f4f0 (diff) | |
| download | django-rest-framework-21980b800d04a1d82a6003823abfdf4ab80ae979.tar.bz2 | |
More test sorting
Diffstat (limited to 'rest_framework/exceptions.py')
| -rw-r--r-- | rest_framework/exceptions.py | 5 |
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.' |
