From ae50bb927527e9cd1211adf3d64cd15a33d43b36 Mon Sep 17 00:00:00 2001 From: Kevin London Date: Fri, 1 Aug 2014 10:26:49 -0700 Subject: [PATCH] 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? --- rest_framework/permissions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rest_framework/permissions.py b/rest_framework/permissions.py index f24a51235..7b97baf7b 100644 --- a/rest_framework/permissions.py +++ b/rest_framework/permissions.py @@ -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.