diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-01-23 16:18:12 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-01-23 16:18:12 +0100 |
commit | eedfb7e85dc99a14b87db8f800c62224c27105a4 (patch) | |
tree | 1dd11cda491f5bc3ca044f8d60d676dd24915665 | |
parent | ba2cf9301130e39277b45b6b6195471223997984 (diff) | |
download | Ishtar-eedfb7e85dc99a14b87db8f800c62224c27105a4.tar.bz2 Ishtar-eedfb7e85dc99a14b87db8f800c62224c27105a4.zip |
Only one image associated to a document
-rw-r--r-- | ishtar_common/models.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ -3985,6 +3985,10 @@ class Document(BaseHistorizedItem, OwnPerms, ImageModel): """ @property + def images_without_main_image(self): + return [] + + @property def associated_file_name(self): if not self.associated_file: return "" |