summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-01-31 12:31:29 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-01-31 12:31:29 +0100
commitef0112072769199159d5ffb420c5cc05a06adaf1 (patch)
tree1dc8c19c85796fa7108fa7aa15fb51790e7f09aa /archaeological_context_records/models.py
parente8bb70223e1565e0e0b762727c85a2b5b9c2505a (diff)
downloadIshtar-ef0112072769199159d5ffb420c5cc05a06adaf1.tar.bz2
Ishtar-ef0112072769199159d5ffb420c5cc05a06adaf1.zip
Change filed length in DB to match importers - Importer configuration
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py4
1 files changed, 2 insertions, 2 deletions
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)