mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 12:30:11 +03:00
Merge b165480a44
into fdc63d3dda
This commit is contained in:
commit
eb902a6057
|
@ -217,7 +217,7 @@ a.fusion-poweredby {
|
|||
<p>REST framework's views handle various exceptions, and deal with returning appropriate error responses.</p>
|
||||
<p>The handled exceptions are:</p>
|
||||
<ul>
|
||||
<li>Subclasses of <code>APIException</code> raised inside REST framework.</li>
|
||||
<li>Subclasses of <code>APIException</code> raised inside an APIView class or @api_view.</li>
|
||||
<li>Django's <code>Http404</code> exception.</li>
|
||||
<li>Django's <code>PermissionDenied</code> exception.</li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue
Block a user