diff options
Diffstat (limited to 'rest_framework/permissions.py')
| -rw-r--r-- | rest_framework/permissions.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/rest_framework/permissions.py b/rest_framework/permissions.py index 29f60d6d..3f6f5961 100644 --- a/rest_framework/permissions.py +++ b/rest_framework/permissions.py @@ -184,7 +184,7 @@ class DjangoObjectPermissions(DjangoModelPermissions):          if not user.has_perms(perms, obj):              # If the user does not have permissions we need to determine if              # they have read permissions to see 403, or not, and simply see -            # a 404 reponse. +            # a 404 response.              if request.method in ('GET', 'OPTIONS', 'HEAD'):                  # Read permissions already checked and failed, no need | 
