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
commit07eaa42445452db7942767b4ec2dea518d667be7 (patch)
tree1dc8c19c85796fa7108fa7aa15fb51790e7f09aa /archaeological_context_records/models.py
parentf0f0377ac4474e4c3e8eb93abda481461c5797f1 (diff)
downloadIshtar-07eaa42445452db7942767b4ec2dea518d667be7.tar.bz2
Ishtar-07eaa42445452db7942767b4ec2dea518d667be7.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)