This commit is contained in:
j 2013-09-26 12:38:36 +00:00
parent a19de36f3e
commit 5529ee0498

View file

@ -64,7 +64,7 @@ def parseCondition(condition, user, owner=None):
if not owner: if not owner:
owner = user owner = user
if k == 'user': if k == 'user':
v = ownder.username v = owner.username
elif k == 'groups': elif k == 'groups':
q = Q(groups__in=owner.groups.all()) q = Q(groups__in=owner.groups.all())
if exclude: if exclude: