diff options
| author | Tom Christie | 2012-10-29 01:50:42 -0700 |
|---|---|---|
| committer | Tom Christie | 2012-10-29 01:50:42 -0700 |
| commit | ab5c28c5f97c7637d0ccbf6ca9cba02b4b8ad96f (patch) | |
| tree | 6d1ee204fb95966b18f8b4e9d452d837a6599df8 /docs/api-guide/parsers.md | |
| parent | 0c71b4c10095f8783f205fc134a475c04a27f01b (diff) | |
| parent | 586584201967d9810f649def51cef577c65d50fb (diff) | |
| download | django-rest-framework-ab5c28c5f97c7637d0ccbf6ca9cba02b4b8ad96f.tar.bz2 | |
Merge pull request #334 from minddust/restframework2
formatting docs commits
Diffstat (limited to 'docs/api-guide/parsers.md')
| -rw-r--r-- | docs/api-guide/parsers.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/parsers.md b/docs/api-guide/parsers.md index ac904720..59f00f99 100644 --- a/docs/api-guide/parsers.md +++ b/docs/api-guide/parsers.md @@ -37,7 +37,7 @@ You can also set the renderers used for an individual view, using the `APIView` Or, if you're using the `@api_view` decorator with function based views. - @api_view(('POST',)), + @api_view(['POST']) @parser_classes((YAMLParser,)) def example_view(request, format=None): """ |
