diff options
| author | Tom Christie | 2012-10-18 04:46:01 -0700 | 
|---|---|---|
| committer | Tom Christie | 2012-10-18 04:46:01 -0700 | 
| commit | 0c65d9babee24f7c772dde2fc98ea4fdcb2ab6aa (patch) | |
| tree | ffb4daf6f46779711b0d6e9619f85a96b80a51a9 /docs/api-guide/parsers.md | |
| parent | e8f542aac88677cd95c473d56511cadbc0c67813 (diff) | |
| parent | fed235dd0135c3eb98bb218a51f01ace5ddd3782 (diff) | |
| download | django-rest-framework-0c65d9babee24f7c772dde2fc98ea4fdcb2ab6aa.tar.bz2 | |
Merge pull request #304 from tomchristie/consitent_settings
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 0985b2ca..c35dfd05 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',          )      } | 
