This commit is contained in:
Kevin London 2017-04-16 01:43:49 +00:00 committed by GitHub
commit 0287ad6004

View File

@ -75,7 +75,8 @@ class IsAuthenticatedOrReadOnly(BasePermission):
class DjangoModelPermissions(BasePermission):
"""
The request is authenticated using `django.contrib.auth` permissions.
See: https://docs.djangoproject.com/en/dev/topics/auth/#permissions
See:
https://docs.djangoproject.com/en/dev/topics/auth/customizing/#custom-permissions
It ensures that the user is authenticated, and has the appropriate
`add`/`change`/`delete` permissions on the model.