forked from 0x2620/pandora
support not in list queries
This commit is contained in:
parent
74e9e3ee8c
commit
882ade7735
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