Updated permissions.py doc link to Django docs

Very similar change to the other one, sorry for making two separate pull requests. Is it worth cutting off the anchor text so it fits in 72 characters?
This commit is contained in:
Kevin London 2014-08-01 10:26:49 -07:00
parent 9af3dc0ba5
commit ae50bb9275

View File

@ -80,7 +80,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.