summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-06-22 12:03:22 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-06-22 12:03:22 +0200
commit70b9b0ee4812b377a6abc4f74cc405b2ee246776 (patch)
treede04ec4ec0c24b2173ded2259a47870286533f6b /archaeological_context_records/models.py
parent9277ed4dbc77b6c70bb1f1420f9b5c3b33174ceb (diff)
parent17b5aa3a3c11c2520c2117efa378e039788b3066 (diff)
downloadIshtar-70b9b0ee4812b377a6abc4f74cc405b2ee246776.tar.bz2
Ishtar-70b9b0ee4812b377a6abc4f74cc405b2ee246776.zip
Merge branch 'master-gis'
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index e449e893d..5b22fb7f7 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -165,6 +165,8 @@ class ContextRecord(BaseHistorizedItem, OwnPerms, ShortMenuItem):
verbose_name=_(u"Activity"),)
related_context_records = models.ManyToManyField(
'ContextRecord', through='RecordRelations', blank=True, null=True)
+ point = models.PointField(_(u"Point"), blank=True, null=True, dim=3)
+ polygon = models.PolygonField(_(u"Polygon"), blank=True, null=True)
history = HistoricalRecords()
class Meta: