diff options
author | 2019-10-31 13:16:15 +0100 | |
---|---|---|
committer | 2019-10-31 13:16:15 +0100 | |
commit | 904edb20f694c40435ba27f5a96f759dbf87f3e3 (patch) | |
tree | f6b71ea47b8f049a65ce95be66b99692b4b8e90a /pydis_site/apps/api/models/bot | |
parent | Merge branch 'master' into bot#549-show-attachments-staff (diff) |
Allow empty attachment field
Diffstat (limited to 'pydis_site/apps/api/models/bot')
-rw-r--r-- | pydis_site/apps/api/models/bot/message.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pydis_site/apps/api/models/bot/message.py b/pydis_site/apps/api/models/bot/message.py index 72b0b61a..8b18fc9f 100644 --- a/pydis_site/apps/api/models/bot/message.py +++ b/pydis_site/apps/api/models/bot/message.py @@ -55,6 +55,7 @@ class Message(ModelReprMixin, models.Model): models.URLField( max_length=512 ), + blank=True, help_text="Attachments attached to this message." ) |