Fix exceptions.md (#6003)

This commit is contained in:
Teppei Fukuda 2018-05-25 18:42:22 +09:00 committed by Tom Christie
parent a7cd1dbc43
commit fe54575e6a

View File

@ -249,7 +249,7 @@ Set as `handler500`:
handler500 = 'rest_framework.exceptions.server_error' 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. Returns a response with status code `400` and `application/json` content type.