mirror of
https://github.com/django/django.git
synced 2025-11-24 21:00:12 +00:00
Fixed #23797 -- Fixed QuerySet.exclude() when rhs is a nullable column.
This commit is contained in:
parent
b7b7df5fbc
commit
512da9d585
4 changed files with 31 additions and 7 deletions
|
|
@ -142,6 +142,7 @@ class Cover(models.Model):
|
|||
class Number(models.Model):
|
||||
num = models.IntegerField()
|
||||
other_num = models.IntegerField(null=True)
|
||||
another_num = models.IntegerField(null=True)
|
||||
|
||||
def __str__(self):
|
||||
return str(self.num)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue