diff options
| author | Stephan Groß | 2013-01-11 20:26:44 +0100 |
|---|---|---|
| committer | Stephan Groß | 2013-01-11 20:26:44 +0100 |
| commit | 919c5e1e01106918af9f26c506c2198fbf731923 (patch) | |
| tree | 11a7c8ade35febcd545fe818b309b0ecbe997222 | |
| parent | c09a579851b6d5e6c57bf32fae1c5dbd8466988e (diff) | |
| download | django-rest-framework-919c5e1e01106918af9f26c506c2198fbf731923.tar.bz2 | |
Fix typo in permission_classes
| -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 c089e4e1..afd9a261 100644 --- a/docs/api-guide/authentication.md +++ b/docs/api-guide/authentication.md @@ -52,7 +52,7 @@ Or, if you're using the `@api_view` decorator with function based views. @api_view(['GET']) @authentication_classes((SessionAuthentication, BasicAuthentication)) - @permissions_classes((IsAuthenticated,)) + @permission_classes((IsAuthenticated,)) def example_view(request, format=None): content = { 'user': unicode(request.user), # `django.contrib.auth.User` instance. |
