diff options
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 |
commit | 70b9b0ee4812b377a6abc4f74cc405b2ee246776 (patch) | |
tree | de04ec4ec0c24b2173ded2259a47870286533f6b /archaeological_finds/models.py | |
parent | 9277ed4dbc77b6c70bb1f1420f9b5c3b33174ceb (diff) | |
parent | 17b5aa3a3c11c2520c2117efa378e039788b3066 (diff) | |
download | Ishtar-70b9b0ee4812b377a6abc4f74cc405b2ee246776.tar.bz2 Ishtar-70b9b0ee4812b377a6abc4f74cc405b2ee246776.zip |
Merge branch 'master-gis'
Diffstat (limited to 'archaeological_finds/models.py')
-rw-r--r-- | archaeological_finds/models.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/archaeological_finds/models.py b/archaeological_finds/models.py index 3861a7003..7d50a0dfb 100644 --- a/archaeological_finds/models.py +++ b/archaeological_finds/models.py @@ -119,7 +119,10 @@ class BaseFind(BaseHistorizedItem, OwnPerms): batch = models.CharField(_(u"Batch/object"), max_length=1, default="U", choices=IS_ISOLATED_CHOICES) index = models.IntegerField(u"Index", default=0) - material_index = models.IntegerField(u"Material index", default=0) + material_index = models.IntegerField(_(u"Material index"), default=0) + point = models.PointField(_(u"Point"), blank=True, null=True, dim=3) + line = models.LineStringField(_(u"Line"), blank=True, null=True) + polygon = models.PolygonField(_(u"Polygon"), blank=True, null=True) cache_short_id = models.TextField( _(u"Short ID"), blank=True, null=True, help_text=_(u"Cached value - do not edit")) |