mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-02 11:30:12 +03:00
fix docstring
This commit is contained in:
parent
cc7deac767
commit
6a8ee5fe5b
|
@ -53,7 +53,7 @@ class IsAuthenticated(BasePermission):
|
||||||
|
|
||||||
class IsAuthenticatedOrOptionsOnly(BasePermission):
|
class IsAuthenticatedOrOptionsOnly(BasePermission):
|
||||||
"""
|
"""
|
||||||
Allows access only to authenticated users.
|
Allows access only to authenticated users or for OPTIONS method.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def has_permission(self, request, view):
|
def has_permission(self, request, view):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user