mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 11:33:59 +03:00
Fixed code formatting
This commit is contained in:
parent
e5af0bbb35
commit
764366b2e1
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user