Typo. Fixes #437.

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