mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-08 06:14:47 +03:00
Update permissions.md
This commit is contained in:
parent
9dfdce8e4a
commit
7a2c75ba14
|
@ -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,
|
||||
using the `APIView` class based views.
|
||||
using the `APIView` class-based views.
|
||||
|
||||
from rest_framework.permissions import IsAuthenticated
|
||||
from rest_framework.response import Response
|
||||
|
|
Loading…
Reference in New Issue
Block a user