summaryrefslogtreecommitdiff
path: root/archaeological_operations
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-08-22 17:40:17 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-08-22 17:40:17 +0200
commit9a3aa1efcdb99a84b5839121125863ac4363feb8 (patch)
tree00222e0f5ed67fe2459874f05c8ed7214ee4c433 /archaeological_operations
parent7870e9eb392a0ced9fa722e8a4c1e048075c04ff (diff)
downloadIshtar-9a3aa1efcdb99a84b5839121125863ac4363feb8.tar.bz2
Ishtar-9a3aa1efcdb99a84b5839121125863ac4363feb8.zip
Document: fix path for ea, treatment file, site documents
Diffstat (limited to 'archaeological_operations')
-rw-r--r--archaeological_operations/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py
index 1ff66e195..34e2e4716 100644
--- a/archaeological_operations/models.py
+++ b/archaeological_operations/models.py
@@ -268,6 +268,9 @@ class ArchaeologicalSite(BaseHistorizedItem):
def towns_label(self):
return u" - ".join(self.towns_codes())
+ def _get_base_image_path(self):
+ return u"{}/{}".format(self.SLUG, self.reference)
+
def create_or_update_top_operation(self, create=False):
"""
Create a virtual operation to associate with the site.