aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/renderers.md
diff options
context:
space:
mode:
authorTom Christie2012-10-17 23:09:11 +0100
committerTom Christie2012-10-17 23:09:11 +0100
commitfed235dd0135c3eb98bb218a51f01ace5ddd3782 (patch)
treed3ac6bee7dd477461ec545b5fd4405ce66c047b5 /docs/api-guide/renderers.md
parente126b615420fed12af58675cb4bb52e749b006bd (diff)
downloaddjango-rest-framework-fed235dd0135c3eb98bb218a51f01ace5ddd3782.tar.bz2
Make settings consistent with corrosponding view attributes
Diffstat (limited to 'docs/api-guide/renderers.md')
-rw-r--r--docs/api-guide/renderers.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-guide/renderers.md b/docs/api-guide/renderers.md
index 24cca181..b3b8d5bc 100644
--- a/docs/api-guide/renderers.md
+++ b/docs/api-guide/renderers.md
@@ -18,10 +18,10 @@ For more information see the documentation on [content negotation][conneg].
## Setting the renderers
-The default set of renderers may be set globally, using the `DEFAULT_RENDERERS` setting. For example, the following settings would use `YAML` as the main media type and also include the self describing API.
+The default set of renderers may be set globally, using the `DEFAULT_RENDERER_CLASSES` setting. For example, the following settings would use `YAML` as the main media type and also include the self describing API.
REST_FRAMEWORK = {
- 'DEFAULT_RENDERERS': (
+ 'DEFAULT_RENDERER_CLASSES': (
'rest_framework.renderers.YAMLRenderer',
'rest_framework.renderers.BrowsableAPIRenderer',
)