fix docstring

This commit is contained in:
mkdk 2018-09-21 21:46:34 +03:00
parent cc7deac767
commit 6a8ee5fe5b

View File

@ -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):