From 963d2ecccbe30ca231621f85681049983248d08d Mon Sep 17 00:00:00 2001 From: Camille Harang Date: Sat, 11 Feb 2012 02:02:42 +0100 Subject: [PATCH] DjangoModelPermisson's desc --- djangorestframework/permissions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/djangorestframework/permissions.py b/djangorestframework/permissions.py index 92e90fc38..cf556dd69 100644 --- a/djangorestframework/permissions.py +++ b/djangorestframework/permissions.py @@ -91,6 +91,8 @@ class IsUserOrIsAnonReadOnly(BasePermission): class DjangoModelPermisson(BasePermission): """ + The request is authenticated against the Django user's permissions on the + `Resource`'s `Model`, if the resource is a `ModelResource`. """ def check_permission(self, user):