diff --git a/django_mailbox/__init__.py b/django_mailbox/__init__.py index ba01fa3..7ed287e 100644 --- a/django_mailbox/__init__.py +++ b/django_mailbox/__init__.py @@ -1 +1 @@ -__version__ = '4.5.4' +__version__ = '4.5.4-issues129' diff --git a/django_mailbox/models.py b/django_mailbox/models.py index 89eb0ad..69e591a 100644 --- a/django_mailbox/models.py +++ b/django_mailbox/models.py @@ -482,6 +482,7 @@ class Message(models.Model): eml = models.FileField( _(u'Raw message contents'), + max_length=2000, null=True, upload_to="messages", help_text=_(u'Original full content of message') @@ -717,6 +718,7 @@ class MessageAttachment(models.Model): document = models.FileField( _(u'Document'), + max_length=2000, upload_to=utils.get_attachment_save_path, )