mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 09:36:49 +03:00
Fix exceptions.md (#6003)
This commit is contained in:
parent
a7cd1dbc43
commit
fe54575e6a
|
@ -249,7 +249,7 @@ Set as `handler500`:
|
|||
|
||||
handler500 = 'rest_framework.exceptions.server_error'
|
||||
|
||||
## `rest_framework.exceptions.server_error`
|
||||
## `rest_framework.exceptions.bad_request`
|
||||
|
||||
Returns a response with status code `400` and `application/json` content type.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user