summaryrefslogtreecommitdiff
path: root/pgcommitfest/commitfest
diff options
context:
space:
mode:
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',)