diff options
| author | Tom Christie | 2012-09-26 21:47:19 +0100 | 
|---|---|---|
| committer | Tom Christie | 2012-09-26 21:47:19 +0100 | 
| commit | 0cc7030aab9f2b97ce6b5db55d6d1a8a32d50231 (patch) | |
| tree | 4a47a50776a7611ad59eec2509181a3a6bb4abb2 /rest_framework/exceptions.py | |
| parent | 622e001e0bde3742f5e8830436ea0304c892480a (diff) | |
| download | django-rest-framework-0cc7030aab9f2b97ce6b5db55d6d1a8a32d50231.tar.bz2 | |
Fix @api_view decorator tests
Diffstat (limited to 'rest_framework/exceptions.py')
| -rw-r--r-- | rest_framework/exceptions.py | 7 | 
1 files changed, 7 insertions, 0 deletions
| diff --git a/rest_framework/exceptions.py b/rest_framework/exceptions.py index e7836ecd..572425b9 100644 --- a/rest_framework/exceptions.py +++ b/rest_framework/exceptions.py @@ -77,3 +77,10 @@ class Throttled(APIException):              self.detail = format % (self.wait, self.wait != 1 and 's' or '')          else:              self.detail = detail or self.default_detail + + +class ConfigurationError(Exception): +    """ +    Indicates an internal server error. +    """ +    pass | 
