On 12/17/25 07:45, Yan, Haixiao (CN) via lists.openembedded.org wrote: > +--- > + django/db/models/query_utils.py | 11 ++++++++++- > + tests/queries/test_q.py | 6 ++++++ > + 2 files changed, 16 insertions(+), 1 deletion(-) > + > +diff --git a/django/db/models/query_utils.py > b/django/db/models/query_utils.py > +index f6bc0bd030de..e612ee8b1a44 100644 > +--- a/django/db/models/query_utils.py > ++++ b/django/db/models/query_utils.py > +@@ -52,11 +52,20 @@ class Q(tree.Node): > + # Connection types > + AND = 'AND' > + OR = 'OR' > ++ XOR = 'XOR' > + default = AND > + conditional = True > ++ connectors = (None, AND, OR, XOR)
Thank you for this. I think it needs a bit of modification: xor support was added in 4.1, so I believe it would be appropriate to adapt the patch by omitting this operator from this version of the recipe. What do you think?
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#122719): https://lists.openembedded.org/g/openembedded-devel/message/122719 Mute This Topic: https://lists.openembedded.org/mt/116823233/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
