From eedfb7e85dc99a14b87db8f800c62224c27105a4 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 23 Jan 2019 16:18:12 +0100 Subject: Only one image associated to a document --- ishtar_common/models.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ishtar_common') diff --git a/ishtar_common/models.py b/ishtar_common/models.py index 735ad27a0..030676dcc 100644 --- a/ishtar_common/models.py +++ b/ishtar_common/models.py @@ -3984,6 +3984,10 @@ class Document(BaseHistorizedItem, OwnPerms, ImageModel): self.index) """ + @property + def images_without_main_image(self): + return [] + @property def associated_file_name(self): if not self.associated_file: -- cgit v1.2.3