Add comment as per feedback from @tomchristie

This commit is contained in:
Carlton Gibson 2018-03-28 15:45:00 +02:00
parent d6583d3aa8
commit 62415b352e

View File

@ -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].