summaryrefslogtreecommitdiff
path: root/archaeological_operations/models.py
diff options
context:
space:
mode:
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.