mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-31 18:40:07 +03:00
fix docstring
This commit is contained in:
parent
cc7deac767
commit
6a8ee5fe5b
|
@ -53,7 +53,7 @@ class IsAuthenticated(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):
|
||||
|
|
Loading…
Reference in New Issue
Block a user