Fix typo in permission_classes

This commit is contained in:
Stephan Groß 2013-01-11 20:26:44 +01:00
parent c09a579851
commit 919c5e1e01

View File

@ -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.