django-sql-utils
django-sql-utils copied to clipboard
~Exists doesn’t preserve filter
>>> ex = Exists("x", filter=Q(y=42))
>>> ex.filter
<Q: (AND: ('y', 42))>
>>> (~ex).filter
<Q: (AND: )>