merge
This commit is contained in:
commit
ba31bbe980
1 changed files with 2 additions and 0 deletions
|
@ -126,6 +126,8 @@ def parseCondition(condition, user):
|
||||||
user)
|
user)
|
||||||
else:
|
else:
|
||||||
q = Q(id__in=l.items.all())
|
q = Q(id__in=l.items.all())
|
||||||
|
if exclude:
|
||||||
|
q = ~q
|
||||||
else:
|
else:
|
||||||
q = Q(id=0)
|
q = Q(id=0)
|
||||||
return q
|
return q
|
||||||
|
|
Loading…
Reference in a new issue