diff options
| author | Tom Christie | 2012-10-17 23:09:11 +0100 | 
|---|---|---|
| committer | Tom Christie | 2012-10-17 23:09:11 +0100 | 
| commit | fed235dd0135c3eb98bb218a51f01ace5ddd3782 (patch) | |
| tree | d3ac6bee7dd477461ec545b5fd4405ce66c047b5 /docs/api-guide/parsers.md | |
| parent | e126b615420fed12af58675cb4bb52e749b006bd (diff) | |
| download | django-rest-framework-fed235dd0135c3eb98bb218a51f01ace5ddd3782.tar.bz2 | |
Make settings consistent with corrosponding view attributes
Diffstat (limited to 'docs/api-guide/parsers.md')
| -rw-r--r-- | docs/api-guide/parsers.md | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/docs/api-guide/parsers.md b/docs/api-guide/parsers.md index 18a5872c..f7a62d3d 100644 --- a/docs/api-guide/parsers.md +++ b/docs/api-guide/parsers.md @@ -16,10 +16,10 @@ The set of valid parsers for a view is always defined as a list of classes.  Whe  ## Setting the parsers -The default set of parsers may be set globally, using the `DEFAULT_PARSERS` setting.  For example, the following settings would allow requests with `YAML` content. +The default set of parsers may be set globally, using the `DEFAULT_PARSER_CLASSES` setting.  For example, the following settings would allow requests with `YAML` content.      REST_FRAMEWORK = { -        'DEFAULT_PARSERS': ( +        'DEFAULT_PARSER_CLASSES': (              'rest_framework.parsers.YAMLParser',          )      } | 
