From 93963ecdbf209753d0d5803fb1de169cf19c5ea5 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Sun, 2 Feb 2020 13:45:03 +0100 Subject: Document template: add thumbnail_path key --- ishtar_common/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ishtar_common') 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 -- cgit v1.2.3