Merge pull request #1882 from mattjmorrison/patch-2

Clarify "raised inside REST framework"
This commit is contained in:
Tom Christie 2014-09-18 18:11:26 +01:00
commit ddbd3cb659

View File

@ -84,7 +84,7 @@ Note that the exception handler will only be called for responses generated by r
**Signature:** `APIException()`
The **base class** for all exceptions raised inside REST framework.
The **base class** for all exceptions raised inside an `APIView` class or `@api_view`.
To provide a custom exception, subclass `APIException` and set the `.status_code` and `.default_detail` properties on the class.