aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorTom Christie2014-09-18 18:11:26 +0100
committerTom Christie2014-09-18 18:11:26 +0100
commitddbd3cb659d4f5d2777c73e9c2f2a8563d0d2c5d (patch)
tree4c4f2f8b514352504fc98fb4103f6c627ebaf854 /docs
parent8c8d355e761a67fffd334dc15bc7bb74238300bc (diff)
parent764366b2e11ad9ad85dd34500e95721011cae7d4 (diff)
downloaddjango-rest-framework-ddbd3cb659d4f5d2777c73e9c2f2a8563d0d2c5d.tar.bz2
Merge pull request #1882 from mattjmorrison/patch-2
Clarify "raised inside REST framework"
Diffstat (limited to 'docs')
-rw-r--r--docs/api-guide/exceptions.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/exceptions.md b/docs/api-guide/exceptions.md
index 66e18173..e61dcfa9 100644
--- a/docs/api-guide/exceptions.md
+++ b/docs/api-guide/exceptions.md
@@ -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.