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 | 76229892c604c38b51e152861d2a1e12985dca19 (patch) | |
tree | 1dd11cda491f5bc3ca044f8d60d676dd24915665 /ishtar_common | |
parent | f4235d156cfb67e862fcd292c5f0d810588cbf1c (diff) | |
download | Ishtar-76229892c604c38b51e152861d2a1e12985dca19.tar.bz2 Ishtar-76229892c604c38b51e152861d2a1e12985dca19.zip |
Only one image associated to a document
Diffstat (limited to 'ishtar_common')
-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 "" |