summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
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
commit2263cc5b8ec9057da4b3391cc1af31a6b8e75526 (patch)
tree00222e0f5ed67fe2459874f05c8ed7214ee4c433 /archaeological_operations/models.py
parentf88edd03db806b846ad10c68279a1a7c4902f3ee (diff)
downloadIshtar-2263cc5b8ec9057da4b3391cc1af31a6b8e75526.tar.bz2
Ishtar-2263cc5b8ec9057da4b3391cc1af31a6b8e75526.zip
Document: fix path for ea, treatment file, site documents
Diffstat (limited to 'archaeological_operations/models.py')
-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.