mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-06 05:20:12 +03:00
added REMOVE_CONTENT_TYPE_ON_HTTP_204 setting
This commit is contained in:
parent
57d3545b7b
commit
44d69a1a71
|
@ -106,6 +106,8 @@ DEFAULTS = {
|
|||
'TIME_FORMAT': ISO_8601,
|
||||
'TIME_INPUT_FORMATS': (ISO_8601,),
|
||||
|
||||
'REMOVE_CONTENT_TYPE_ON_HTTP_204': True,
|
||||
|
||||
# Encoding
|
||||
'UNICODE_JSON': True,
|
||||
'COMPACT_JSON': True,
|
||||
|
|
Loading…
Reference in New Issue
Block a user