Increase size of attachment filename. Fixes #164.

This commit is contained in:
Ross Poulton
2014-09-02 18:36:00 +10:00
parent 2e3fe0d73d
commit 1aed98463a
3 changed files with 464 additions and 1 deletions

View File

@ -631,11 +631,12 @@ class Attachment(models.Model):
file = models.FileField(
_('File'),
upload_to=attachment_path,
max_length=1000,
)
filename = models.CharField(
_('Filename'),
max_length=100,
max_length=1000,
)
mime_type = models.CharField(