From 398a928d10f93bcf92be97e7ecca3638e5a27362 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 22 Oct 2015 13:26:30 +0200 Subject: Fix SRA Pdl file import --- archaeological_files/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_files/models.py') diff --git a/archaeological_files/models.py b/archaeological_files/models.py index aa0cda30a..604278c73 100644 --- a/archaeological_files/models.py +++ b/archaeological_files/models.py @@ -77,7 +77,7 @@ class File(BaseHistorizedItem, OwnPerms, ValueGetter, ShortMenuItem, _(u"Numeric reference"), blank=True, null=True) internal_reference = models.CharField(_(u"Internal reference"), blank=True, null=True, max_length=60) - name = models.CharField(_(u"Name"), max_length=100, blank=True, null=True) + name = models.TextField(_(u"Name"), blank=True, null=True) file_type = models.ForeignKey(FileType, verbose_name=_(u"File type")) in_charge = models.ForeignKey(Person, related_name='file_responsability', verbose_name=_(u"Person in charge"), -- cgit v1.2.3