summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2020-02-02 13:45:03 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2020-02-02 13:45:03 +0100
commit93963ecdbf209753d0d5803fb1de169cf19c5ea5 (patch)
treecbcfd57307e824cb73388b6aa1bf87da6c186322 /ishtar_common
parent7ecf3a43ec1f02de2a54345848c808367f65299c (diff)
downloadIshtar-93963ecdbf209753d0d5803fb1de169cf19c5ea5.tar.bz2
Ishtar-93963ecdbf209753d0d5803fb1de169cf19c5ea5.zip
Document template: add thumbnail_path key
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index eff43a119..f6f824d73 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -5361,6 +5361,7 @@ class Document(BaseHistorizedItem, QRCodeItem, OwnPerms, ImageModel,
values = super(Document, self).get_values(prefix=prefix,
no_values=no_values)
values[prefix + "image_path"] = self.image_path
+ values[prefix + "thumbnail_path"] = self.thumbnail_path
return values
@property