long filenames

This commit is contained in:
j 2009-08-28 11:29:12 +02:00
parent ed3ecd95ca
commit 68792d4a20

View file

@ -46,7 +46,7 @@ class Text(models.Model):
title = models.CharField(blank=True, max_length=1000) title = models.CharField(blank=True, max_length=1000)
version = 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) authors = models.ManyToManyField(Author, related_name='texts', blank=True)
languages = models.ManyToManyField(Language, related_name='texts', blank=True) languages = models.ManyToManyField(Language, related_name='texts', blank=True)
compilation = models.BooleanField(default=False) compilation = models.BooleanField(default=False)