mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #29865 -- Added logical XOR support for Q() and querysets.
This commit is contained in:
committed by
Mariusz Felisiak
parent
795da6306a
commit
c6b4d62fa2
@@ -526,6 +526,7 @@ class QuerySetSetOperationTests(TestCase):
|
||||
operators = [
|
||||
("|", operator.or_),
|
||||
("&", operator.and_),
|
||||
("^", operator.xor),
|
||||
]
|
||||
for combinator in combinators:
|
||||
combined_qs = getattr(qs, combinator)(qs)
|
||||
|
||||
Reference in New Issue
Block a user