diff options
author | 2019-11-15 10:04:29 +0100 | |
---|---|---|
committer | 2019-11-15 10:04:29 +0100 | |
commit | 80c5799cb3538dcfff48b2f9f017097abb65ab72 (patch) | |
tree | 3fa8cc98b94bc0c94a6974d89a9bc9c8e7031c5f /pydis_site | |
parent | Allow empty attachment field (diff) |
Allow blank attachment field
Diffstat (limited to 'pydis_site')
-rw-r--r-- | pydis_site/apps/api/migrations/0047_deletedmessage_attachments.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/api/migrations/0047_deletedmessage_attachments.py b/pydis_site/apps/api/migrations/0047_deletedmessage_attachments.py index a738faff..f335e003 100644 --- a/pydis_site/apps/api/migrations/0047_deletedmessage_attachments.py +++ b/pydis_site/apps/api/migrations/0047_deletedmessage_attachments.py @@ -14,7 +14,7 @@ class Migration(migrations.Migration): migrations.AddField( model_name='deletedmessage', name='attachments', - field=django.contrib.postgres.fields.ArrayField(base_field=models.URLField(max_length=512), default=[], help_text='Attachments attached to this message.', size=None), + field=django.contrib.postgres.fields.ArrayField(base_field=models.URLField(max_length=512), default=[], blank=True, help_text='Attachments attached to this message.', size=None), preserve_default=False, ), ] |