aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/permissions.py
diff options
context:
space:
mode:
authorTymur Maryokhin2014-12-05 00:29:28 +0100
committerTymur Maryokhin2014-12-05 00:29:28 +0100
commitd9930181ee157f51e2fcea33a3af5ea397647324 (patch)
tree06e65d1f2a34b70c912dfa3e696611ca0cc00a65 /rest_framework/permissions.py
parent45dc44b2038f5533a472b015c45200b5d1ca6052 (diff)
downloaddjango-rest-framework-d9930181ee157f51e2fcea33a3af5ea397647324.tar.bz2
Removed unused imports, pep8 fixes, typo fixes
Diffstat (limited to 'rest_framework/permissions.py')
-rw-r--r--rest_framework/permissions.py2
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