Update permissions.md

This commit is contained in:
Kenneth Schnall 2016-07-07 15:04:35 -04:00 committed by Ken Schnall
parent 9dfdce8e4a
commit 7a2c75ba14

View File

@ -71,7 +71,7 @@ If not specified, this setting defaults to allowing unrestricted access:
) )
You can also set the authentication policy on a per-view, or per-viewset basis, You can also set the authentication policy on a per-view, or per-viewset basis,
using the `APIView` class based views. using the `APIView` class-based views.
from rest_framework.permissions import IsAuthenticated from rest_framework.permissions import IsAuthenticated
from rest_framework.response import Response from rest_framework.response import Response