summaryrefslogtreecommitdiff
path: root/ishtar/ishtar_base/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2011-07-10 18:36:48 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2011-07-10 18:36:48 +0200
commit7dc79581218a205fb5b80ea6db306b77b9bd529b (patch)
treebe8d4564e68a0bf65a2b4f0136621d67f2acf62a /ishtar/ishtar_base/models.py
parent571aa094f71d152df9a8ce60cd41a0bcad64bd0b (diff)
downloadIshtar-7dc79581218a205fb5b80ea6db306b77b9bd529b.tar.bz2
Ishtar-7dc79581218a205fb5b80ea6db306b77b9bd529b.zip
Disambiguation of closing date and end of excavation work (closes #526)
Diffstat (limited to 'ishtar/ishtar_base/models.py')
-rw-r--r--ishtar/ishtar_base/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar/ishtar_base/models.py b/ishtar/ishtar_base/models.py
index 4c4cdfc2e..8c4c91dae 100644
--- a/ishtar/ishtar_base/models.py
+++ b/ishtar/ishtar_base/models.py
@@ -629,6 +629,8 @@ class Operation(BaseHistorizedItem, OwnPerms):
TABLE_COLS = ['operation_code', 'year', 'operation_type',
'remains', 'towns', 'associated_file', 'start_date']
start_date = models.DateField(_(u"Start date"), null=True, blank=True)
+ excavation_end_date = models.DateField(_(u"Excavation end date"), null=True,
+ blank=True)
end_date = models.DateField(_(u"Closing date"), null=True, blank=True)
in_charge = models.ForeignKey('Person', related_name='+', null=True,
blank=True, verbose_name=_(u"In charge"))