summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest
diff options
context:
space:
mode:
authorMagnus Hagander2021-12-12 14:08:40 +0000
committerMagnus Hagander2021-12-12 14:13:10 +0000
commit1537d0e89d2c6ac57a047444a29eace8eb2a9bb7 (patch)
tree65bb981bc37a6ece059759f27226da134592cfe8 /pgcommitfest/commitfest
parent5cfc7d20e0e38174a04e345600efcb377f9239cc (diff)
Update for django 3.2 compatibility
Diffstat (limited to 'pgcommitfest/commitfest')
-rw-r--r--pgcommitfest/commitfest/migrations/0001_initial.py2
-rw-r--r--pgcommitfest/commitfest/models.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pgcommitfest/commitfest/migrations/0001_initial.py b/pgcommitfest/commitfest/migrations/0001_initial.py
index a0a3db0..a58a5e1 100644
--- a/pgcommitfest/commitfest/migrations/0001_initial.py
+++ b/pgcommitfest/commitfest/migrations/0001_initial.py
@@ -81,7 +81,7 @@ class Migration(migrations.Migration):
('filename', models.CharField(max_length=1000, blank=True)),
('date', models.DateTimeField()),
('author', models.CharField(max_length=500)),
- ('ispatch', models.NullBooleanField()),
+ ('ispatch', models.BooleanField(null=True)),
('mailthread', models.ForeignKey(to='commitfest.MailThread', on_delete=models.CASCADE)),
],
options={
diff --git a/pgcommitfest/commitfest/models.py b/pgcommitfest/commitfest/models.py
index 3b7049a..28722f0 100644
--- a/pgcommitfest/commitfest/models.py
+++ b/pgcommitfest/commitfest/models.py
@@ -307,7 +307,7 @@ class MailThreadAttachment(models.Model):
filename = models.CharField(max_length=1000, null=False, blank=True)
date = models.DateTimeField(null=False, blank=False)
author = models.CharField(max_length=500, null=False, blank=False)
- ispatch = models.NullBooleanField()
+ ispatch = models.BooleanField(null=True)
class Meta:
ordering = ('-date',)