DjangoModelPermisson's desc

This commit is contained in:
Camille Harang 2012-02-11 02:02:42 +01:00
parent b236241982
commit 963d2ecccb

View File

@ -91,6 +91,8 @@ class IsUserOrIsAnonReadOnly(BasePermission):
class DjangoModelPermisson(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): def check_permission(self, user):