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
commit4e39e520091435d65c8a847527a3a1def63d01ce (patch)
tree6f5fa32207e0e3f4bd31b0f62105678aa308c52b /archaeological_context_records/models.py
parent5063bf07c5128131f5eecbce994cfeb670ef8a08 (diff)
downloadIshtar-4e39e520091435d65c8a847527a3a1def63d01ce.tar.bz2
Ishtar-4e39e520091435d65c8a847527a3a1def63d01ce.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)