Modify mixins.py to make sure that the 415 (Unsupported Media Type) returns its error in the 'detail' key instead of in the 'error' key (for consistency with all other errors).
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
runtests | Loading commit data... | |
static/djangorestframework/css | Loading commit data... | |
templates/djangorestframework | Loading commit data... | |
templatetags | Loading commit data... | |
tests | Loading commit data... | |
utils | Loading commit data... | |
__init__.py | Loading commit data... | |
authentication.py | Loading commit data... | |
compat.py | Loading commit data... | |
mixins.py | Loading commit data... | |
models.py | Loading commit data... | |
parsers.py | Loading commit data... | |
permissions.py | Loading commit data... | |
renderers.py | Loading commit data... | |
resources.py | Loading commit data... | |
response.py | Loading commit data... | |
reverse.py | Loading commit data... | |
serializer.py | Loading commit data... | |
status.py | Loading commit data... | |
urls.py | Loading commit data... | |
views.py | Loading commit data... |