diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-01-26 13:57:43 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-01-26 13:57:43 +0100 |
commit | 248505a3a2a0343153b698aecfb358f2b29b766d (patch) | |
tree | 88d1959cc1d096bd6d318623850b24310865eab8 /archaeological_operations/models.py | |
parent | b13324f20479de7603ed5daa9e3d989fc9bd4bd5 (diff) | |
download | Ishtar-248505a3a2a0343153b698aecfb358f2b29b766d.tar.bz2 Ishtar-248505a3a2a0343153b698aecfb358f2b29b766d.zip |
Importer: manage many values in one field
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r-- | archaeological_operations/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index 00c2dd523..21ae4e15a 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -157,12 +157,12 @@ class Operation(BaseHistorizedItem, OwnPerms, ValueGetter, ShortMenuItem, 'start_date', 'excavation_end_date'] if FILES_AVAILABLE: TABLE_COLS.insert(4, 'associated_file_short_label') - start_date = models.DateField(_(u"Start date"), null=True, blank=True) creation_date = models.DateField(_(u"Creation date"), default=datetime.date.today) + end_date = models.DateField(_(u"Closing date"), null=True, blank=True) + 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) report_delivery_date = models.DateField(_(u"Report delivery date"), null=True, blank=True) scientist = models.ForeignKey(Person, blank=True, null=True, |