Fixed code formatting

This commit is contained in:
Matthew J Morrison 2014-09-17 11:29:15 -05:00
parent e5af0bbb35
commit 764366b2e1

View File

@ -84,7 +84,7 @@ Note that the exception handler will only be called for responses generated by r
**Signature:** `APIException()` **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. To provide a custom exception, subclass `APIException` and set the `.status_code` and `.default_detail` properties on the class.