On 2025/12/17 16:31, Gyorgy Sarvari wrote:
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know 
the content is safe.

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?

I will remove XOR and sent the v2.

Thanks,

Haixiao

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#122722): 
https://lists.openembedded.org/g/openembedded-devel/message/122722
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to