From ef0112072769199159d5ffb420c5cc05a06adaf1 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 31 Jan 2017 12:31:29 +0100 Subject: Change filed length in DB to match importers - Importer configuration --- archaeological_context_records/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archaeological_context_records/models.py') diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index cd0dd4268..75074c514 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -186,8 +186,8 @@ class ContextRecord(BaseHistorizedItem, ImageModel, OwnPerms, thickness = models.FloatField(_(u"Thickness (m)"), blank=True, null=True) depth = models.FloatField(_(u"Depth (m)"), blank=True, null=True) - location = models.CharField( - _(u"Location"), blank=True, null=True, max_length=200, + location = models.TextField( + _(u"Location"), blank=True, null=True, help_text=_(u"A short description of the location of the context " u"record")) datings = models.ManyToManyField(Dating) -- cgit v1.2.3