diff options
| author | Hassan Shamim | 2014-02-10 12:54:56 -0600 | 
|---|---|---|
| committer | Hassan Shamim | 2014-02-10 12:54:56 -0600 | 
| commit | 97b7c25987c3bfa096a084dc671fc24816b08f87 (patch) | |
| tree | 924d839c935f60ba92d7dd96cffa9487d2e4d4ca /rest_framework/exceptions.py | |
| parent | 00b187710623d8efda62f207573fa4e356d1f8ef (diff) | |
| download | django-rest-framework-97b7c25987c3bfa096a084dc671fc24816b08f87.tar.bz2 | |
Replace 'detail' with 'default_detail' in Exceptions guide and APIException class docstring.
Diffstat (limited to 'rest_framework/exceptions.py')
| -rw-r--r-- | rest_framework/exceptions.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/rest_framework/exceptions.py b/rest_framework/exceptions.py index 4276625a..0ac5866e 100644 --- a/rest_framework/exceptions.py +++ b/rest_framework/exceptions.py @@ -12,7 +12,7 @@ import math  class APIException(Exception):      """      Base class for REST framework exceptions. -    Subclasses should provide `.status_code` and `.detail` properties. +    Subclasses should provide `.status_code` and `.default_detail` properties.      """      status_code = status.HTTP_500_INTERNAL_SERVER_ERROR      default_detail = '' | 
