aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--djangorestframework/permissions.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/djangorestframework/permissions.py b/djangorestframework/permissions.py
index 92e90fc3..cf556dd6 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):