id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 4858 Add support for ~ to Q objects for negation Collin Grady nobody "At present there's no quick way to negate a Q object, so if you need something that {{{.filter()}}} and {{{.exclude()}}} can't do, such as {{{Q(A) AND ((NOT Q(B) OR Q(C))}}}, it's a bit awkward as you have to use {{{QNot(Q(B))}}}. Attached patch would allow {{{Q(A) & (~Q(B) | Q(C))}}} using the bitwise NOT, similar to the bitwise AND and OR already in use." closed Database layer (models, ORM) dev fixed qs-rf-fixed elsdoerfer@… Accepted 1 0 0 0 0 0