diff options
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 |
commit | 9a3aa1efcdb99a84b5839121125863ac4363feb8 (patch) | |
tree | 00222e0f5ed67fe2459874f05c8ed7214ee4c433 /archaeological_operations | |
parent | 7870e9eb392a0ced9fa722e8a4c1e048075c04ff (diff) | |
download | Ishtar-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.py | 3 |
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. |