This commit is contained in:
Tom Christie 2012-09-07 10:17:47 +01:00
parent da5a6243f3
commit 215de9af81
2 changed files with 4 additions and 5 deletions

View File

@ -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'
} }

View File

@ -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**