diff options
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 |
commit | 9f3ff1e55ac1ae4055093c8571d1e7ef49684fdd (patch) | |
tree | 8b69b101d3cf460f13a6ba143faaba317b6e56b6 | |
parent | a7344bf3ecb2901ae04d09a5ae5715df34857514 (diff) | |
download | Ishtar-9f3ff1e55ac1ae4055093c8571d1e7ef49684fdd.tar.bz2 Ishtar-9f3ff1e55ac1ae4055093c8571d1e7ef49684fdd.zip |
Document generation: add value getter for operations (refs #1657)
-rw-r--r-- | archaeological_operations/models.py | 2 |
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'] |