diff --git a/pandora/item/managers.py b/pandora/item/managers.py index 67f9251af..0fdafa67f 100644 --- a/pandora/item/managers.py +++ b/pandora/item/managers.py @@ -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