1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Refs #373 -- Updated TupleIsNull lookup to check if any is NULL rather than all.

Regression in 1eac690d25.
This commit is contained in:
Bendeguz Csirmaz
2024-09-20 10:03:47 +02:00
committed by Sarah Boyce
parent 1857b6663b
commit c2c7dbb2f8
3 changed files with 39 additions and 15 deletions

View File

@@ -49,7 +49,7 @@ class Group(models.Model):
class Membership(models.Model):
# Table Column Fields
membership_country = models.ForeignKey(Country, models.CASCADE)
membership_country = models.ForeignKey(Country, models.CASCADE, null=True)
date_joined = models.DateTimeField(default=datetime.datetime.now)
invite_reason = models.CharField(max_length=64, null=True)
person_id = models.IntegerField()