summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2014-02-14 11:42:20 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2014-02-14 11:42:20 +0100
commit9f3ff1e55ac1ae4055093c8571d1e7ef49684fdd (patch)
tree8b69b101d3cf460f13a6ba143faaba317b6e56b6 /archaeological_operations/models.py
parenta7344bf3ecb2901ae04d09a5ae5715df34857514 (diff)
downloadIshtar-9f3ff1e55ac1ae4055093c8571d1e7ef49684fdd.tar.bz2
Ishtar-9f3ff1e55ac1ae4055093c8571d1e7ef49684fdd.zip
Document generation: add value getter for operations (refs #1657)
Diffstat (limited to 'archaeological_operations/models.py')
-rw-r--r--archaeological_operations/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index 200619abd..6915f4440 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -102,7 +102,7 @@ class ArchaeologicalSite(BaseHistorizedItem):
name += u" %s %s" % (settings.JOINT, self.name)
return name
-class Operation(BaseHistorizedItem, OwnPerms):
+class Operation(BaseHistorizedItem, OwnPerms, ValueGetter):
TABLE_COLS = ['year_index', 'operation_type', 'remains', 'towns',
'associated_file_short_label', 'start_date',
'excavation_end_date']