This commit is contained in:
rolux 2011-11-02 19:46:27 +00:00
commit ba31bbe980

View file

@ -126,6 +126,8 @@ def parseCondition(condition, user):
user)
else:
q = Q(id__in=l.items.all())
if exclude:
q = ~q
else:
q = Q(id=0)
return q