1
1
mirror of https://github.com/encode/django-rest-framework.git synced 2025-08-13 08:44:46 +03:00

Typo. Fixes .

This commit is contained in:
Tom Christie 2012-11-23 13:08:57 +00:00
parent 7ade5add21
commit 412f737ab2

View File

@ -109,6 +109,6 @@ class DjangoModelPermissions(BasePermission):
if (request.user and if (request.user and
request.user.is_authenticated() and request.user.is_authenticated() and
request.user.has_perms(perms, obj)): request.user.has_perm(perms, obj)):
return True return True
return False return False