mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +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
8
tests/xor_lookups/models.py
Normal file
8
tests/xor_lookups/models.py
Normal file
@@ -0,0 +1,8 @@
|
||||
from django.db import models
|
||||
|
||||
|
||||
class Number(models.Model):
|
||||
num = models.IntegerField()
|
||||
|
||||
def __str__(self):
|
||||
return str(self.num)
|
||||
Reference in New Issue
Block a user