summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-08-04 17:42:20 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-08-04 17:42:20 +0200
commitae3dd77cf141c13d1122193be63e49427194651a (patch)
tree6f5fa32207e0e3f4bd31b0f62105678aa308c52b /archaeological_context_records/models.py
parentd0ce06a5899ee38a6c97a00c3f3512080a6169f8 (diff)
downloadIshtar-ae3dd77cf141c13d1122193be63e49427194651a.tar.bz2
Ishtar-ae3dd77cf141c13d1122193be63e49427194651a.zip
Context record: add point 2d
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index 243ce32f8..e3a344be8 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -297,6 +297,7 @@ class ContextRecord(BulkUpdatedItem, BaseHistorizedItem, ImageModel, OwnPerms,
verbose_name=_(u"Excavation technique"))
related_context_records = models.ManyToManyField(
'ContextRecord', through='RecordRelations', blank=True)
+ point_2d = models.PointField(_(u"Point (2D)"), blank=True, null=True)
point = models.PointField(_(u"Point"), blank=True, null=True, dim=3)
polygon = models.PolygonField(_(u"Polygon"), blank=True, null=True)
cached_label = models.TextField(_(u"Cached name"), null=True, blank=True)