diff --git a/rest_framework/permissions.py b/rest_framework/permissions.py index 3a8c58064..f376ce837 100644 --- a/rest_framework/permissions.py +++ b/rest_framework/permissions.py @@ -175,7 +175,7 @@ class DjangoModelPermissions(BasePermission): # Override this if you need to also provide 'view' permissions, # or if you want to provide custom permission codes. perms_map = { - 'GET': [], + 'GET': ['%(app_label)s.view_%(model_name)s'], 'OPTIONS': [], 'HEAD': [], 'POST': ['%(app_label)s.add_%(model_name)s'], @@ -252,7 +252,7 @@ class DjangoObjectPermissions(DjangoModelPermissions): provide a `.queryset` attribute. """ perms_map = { - 'GET': [], + 'GET': ['%(app_label)s.view_%(model_name)s'], 'OPTIONS': [], 'HEAD': [], 'POST': ['%(app_label)s.add_%(model_name)s'],