diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-03-03 11:40:08 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-03-03 11:41:45 +0100 |
commit | 553da2c5cff2e5b85fc739a09155348170c0caab (patch) | |
tree | 84faa51eb669011af4fdcf05b3c0d159c339012d /archaeological_operations/models.py | |
parent | 135a470e4554bf4050e6c535790b3e111fda0422 (diff) | |
download | Ishtar-553da2c5cff2e5b85fc739a09155348170c0caab.tar.bz2 Ishtar-553da2c5cff2e5b85fc739a09155348170c0caab.zip |
Sites: add missing fields in models
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r-- | archaeological_operations/models.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 035c98190..20a476da0 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -107,6 +107,19 @@ class ArchaeologicalSite(BaseHistorizedItem): top_operation = models.ForeignKey("Operation", blank=True, null=True, verbose_name=_(u"Top operation"), on_delete=models.SET_NULL) + locality_ngi = models.TextField( + _(u"National Geographic Institute locality"), + null=True, blank=True + ) + locality_cadastral = models.TextField(_(u"Cadastral locality"), + null=True, blank=True) + # underwater + oceanographic_service_localisation = models.TextField( + _("Oceanographic service localisation"), null=True, blank=True) + shipwreck_code = models.TextField( + _(u"Shipwreck code"), null=True, blank=True) + sinking_date = models.DateField( + _(u"Sinking date"), null=True, blank=True) class Meta: verbose_name = _(u"Archaeological site") |