summaryrefslogtreecommitdiff
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
commitcaab4c114df004b6807a3716ea6a029444988811 (patch)
treecbcfd57307e824cb73388b6aa1bf87da6c186322
parentf2a89988f7fc574dcbdb2433c0067995f593d863 (diff)
downloadIshtar-caab4c114df004b6807a3716ea6a029444988811.tar.bz2
Ishtar-caab4c114df004b6807a3716ea6a029444988811.zip
Document template: add thumbnail_path key
-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