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 | 43ed9eb077e0d24b4ff0906fce1d147887946887 (patch) | |
| tree | de04ec4ec0c24b2173ded2259a47870286533f6b /archaeological_context_records/models.py | |
| parent | be2f9250a3684d8a7b42cdedcb97b88689146583 (diff) | |
| parent | f5278167603056e612b9228936d68d1ee30388ae (diff) | |
| download | Ishtar-43ed9eb077e0d24b4ff0906fce1d147887946887.tar.bz2 Ishtar-43ed9eb077e0d24b4ff0906fce1d147887946887.zip | |
Merge branch 'master-gis'
Diffstat (limited to 'archaeological_context_records/models.py')
| -rw-r--r-- | archaeological_context_records/models.py | 2 |
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: |
