Skip to content

Commit

Permalink
Make eml field Blankable
Browse files Browse the repository at this point in the history
  • Loading branch information
pfouque committed Dec 17, 2023
1 parent 3c6f383 commit 0f82c95
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions django_mailbox/migrations/0009_alter_message_eml.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.23 on 2023-12-16 23:27

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('django_mailbox', '0008_auto_20190219_1553'),
]

operations = [
migrations.AlterField(
model_name='message',
name='eml',
field=models.FileField(blank=True, help_text='Original full content of message', null=True, upload_to='messages', verbose_name='Raw message contents'),
),
]
1 change: 1 addition & 0 deletions django_mailbox/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,7 @@ class Message(models.Model):
eml = models.FileField(
_('Raw message contents'),
null=True,
blank=True,
upload_to="messages",
help_text=_('Original full content of message')
)
Expand Down
Empty file modified manage.py
100644 → 100755
Empty file.

0 comments on commit 0f82c95

Please sign in to comment.