mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-02 19:40:13 +03:00
Add comment as per feedback from @tomchristie
This commit is contained in:
parent
d6583d3aa8
commit
62415b352e
|
@ -236,7 +236,8 @@ By default this exception results in a response with the HTTP status code "400 B
|
|||
# Generic Error Views
|
||||
|
||||
Django REST Framework provides two error views suitable for providing generic JSON `500` Server Error and
|
||||
`400` Bad Request responses.
|
||||
`400` Bad Request responses. (Django's default error views provide HTML responses, which may not be appropriate for an
|
||||
API-only application.)
|
||||
|
||||
Use these as per [Django's Customizing error views documentation][django-custom-error-views].
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user