From 68792d4a202e719749efdd0f709eec9560070f41 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 28 Aug 2009 11:29:12 +0200 Subject: [PATCH] long filenames --- text/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text/models.py b/text/models.py index d0170d6..5a42465 100644 --- a/text/models.py +++ b/text/models.py @@ -46,7 +46,7 @@ class Text(models.Model): title = models.CharField(blank=True, max_length=1000) version = models.CharField(blank=True, max_length=1000) - file = models.FileField(upload_to='Incoming', blank=True) + file = models.FileField(upload_to='Incoming', blank=True, max_length=2000) authors = models.ManyToManyField(Author, related_name='texts', blank=True) languages = models.ManyToManyField(Language, related_name='texts', blank=True) compilation = models.BooleanField(default=False)