From 9a3aa1efcdb99a84b5839121125863ac4363feb8 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 22 Aug 2018 17:40:17 +0200 Subject: Document: fix path for ea, treatment file, site documents --- archaeological_operations/models.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'archaeological_operations') 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. -- cgit v1.2.3