mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-11 04:07:39 +03:00
Tidy up
This commit is contained in:
parent
da5a6243f3
commit
215de9af81
|
@ -25,6 +25,7 @@ DEFAULTS = {
|
||||||
'DEFAULT_RENDERERS': (
|
'DEFAULT_RENDERERS': (
|
||||||
'djangorestframework.renderers.JSONRenderer',
|
'djangorestframework.renderers.JSONRenderer',
|
||||||
'djangorestframework.renderers.JSONPRenderer',
|
'djangorestframework.renderers.JSONPRenderer',
|
||||||
|
'djangorestframework.renderers.DocumentingHTMLRenderer',
|
||||||
'djangorestframework.renderers.DocumentingPlainTextRenderer',
|
'djangorestframework.renderers.DocumentingPlainTextRenderer',
|
||||||
),
|
),
|
||||||
'DEFAULT_PARSERS': (
|
'DEFAULT_PARSERS': (
|
||||||
|
@ -44,7 +45,9 @@ DEFAULTS = {
|
||||||
'FORM_METHOD_OVERRIDE': '_method',
|
'FORM_METHOD_OVERRIDE': '_method',
|
||||||
'FORM_CONTENT_OVERRIDE': '_content',
|
'FORM_CONTENT_OVERRIDE': '_content',
|
||||||
'FORM_CONTENTTYPE_OVERRIDE': '_content_type',
|
'FORM_CONTENTTYPE_OVERRIDE': '_content_type',
|
||||||
'URL_ACCEPT_OVERRIDE': '_accept'
|
'URL_ACCEPT_OVERRIDE': '_accept',
|
||||||
|
|
||||||
|
'FORMAT_SUFFIX_KWARG': 'format'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
# Contributing to REST framework
|
# Contributing to REST framework
|
||||||
|
|
||||||
## Accessing settings
|
|
||||||
|
|
||||||
**Describe api_settings**
|
|
||||||
|
|
||||||
## Managing compatibility issues
|
## Managing compatibility issues
|
||||||
|
|
||||||
**Describe compat module**
|
**Describe compat module**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user