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)
|
||||
else:
|
||||
q = Q(id__in=l.items.all())
|
||||
if exclude:
|
||||
q = ~q
|
||||
else:
|
||||
q = Q(id=0)
|
||||
return q
|
||||
|
|
Loading…
Reference in a new issue