aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/authentication.md
diff options
context:
space:
mode:
authorStephan Groß2013-01-11 20:26:44 +0100
committerStephan Groß2013-01-11 20:26:44 +0100
commit919c5e1e01106918af9f26c506c2198fbf731923 (patch)
tree11a7c8ade35febcd545fe818b309b0ecbe997222 /docs/api-guide/authentication.md
parentc09a579851b6d5e6c57bf32fae1c5dbd8466988e (diff)
downloaddjango-rest-framework-919c5e1e01106918af9f26c506c2198fbf731923.tar.bz2
Fix typo in permission_classes
Diffstat (limited to 'docs/api-guide/authentication.md')
-rw-r--r--docs/api-guide/authentication.md2
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.