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/authentication.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/authentication.md')
| -rw-r--r-- | docs/api-guide/authentication.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/authentication.md b/docs/api-guide/authentication.md index 7bad4867..889d16c0 100644 --- a/docs/api-guide/authentication.md +++ b/docs/api-guide/authentication.md @@ -50,7 +50,7 @@ You can also set the authentication policy on a per-view basis, using the `APIVi Or, if you're using the `@api_view` decorator with function based views. - @api_view(('GET',)), + @api_view(['GET']) @authentication_classes((SessionAuthentication, UserBasicAuthentication)) @permissions_classes((IsAuthenticated,)) def example_view(request, format=None): |
