summaryrefslogtreecommitdiff
path: root/archaeological_context_records/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-08-04 20:03:03 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-08-04 20:03:03 +0200
commit5f8af1caf220dfc3bd097aa3bd4c184d499b1390 (patch)
tree378d8f0de8fe2da0069a29b4c176b8a3db964400 /archaeological_context_records/models.py
parent8dac0d41c0760c4bce6de81ecae2edb7364b5772 (diff)
downloadIshtar-5f8af1caf220dfc3bd097aa3bd4c184d499b1390.tar.bz2
Ishtar-5f8af1caf220dfc3bd097aa3bd4c184d499b1390.zip
Admin: fix point management for context record
Diffstat (limited to 'archaeological_context_records/models.py')
-rw-r--r--archaeological_context_records/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py
index e3a344be8..f968c1d6e 100644
--- a/archaeological_context_records/models.py
+++ b/archaeological_context_records/models.py
@@ -298,7 +298,7 @@ class ContextRecord(BulkUpdatedItem, BaseHistorizedItem, ImageModel, OwnPerms,
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)
+ point = models.PointField(_(u"Point (3D)"), 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)
history = HistoricalRecords()