diff options
| author | Matthew J Morrison | 2014-09-17 11:29:15 -0500 |
|---|---|---|
| committer | Matthew J Morrison | 2014-09-17 11:29:15 -0500 |
| commit | 764366b2e11ad9ad85dd34500e95721011cae7d4 (patch) | |
| tree | e0b9b68d03d2675b2456ae131b85f722df2c7b7a | |
| parent | e5af0bbb353e772473b1d9fcfc896bfd7365db2a (diff) | |
| download | django-rest-framework-764366b2e11ad9ad85dd34500e95721011cae7d4.tar.bz2 | |
Fixed code formatting
| -rw-r--r-- | docs/api-guide/exceptions.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/exceptions.md b/docs/api-guide/exceptions.md index 33c4dc91..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 an APIView class or @api_view. +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. |
