summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-09-07 18:48:54 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-09-07 18:48:54 +0200
commit041ac7922da55ad24f8d324f076aef07400a1ef5 (patch)
treefb6373f59ae98764019d7ec7ff964d6c60dacd83 /ishtar_common/models.py
parent4e0707fe6b8444dce65bdb7b5ee9401e53cf0de8 (diff)
downloadIshtar-041ac7922da55ad24f8d324f076aef07400a1ef5.tar.bz2
Ishtar-041ac7922da55ad24f8d324f076aef07400a1ef5.zip
Serialization: manage documenst (with filters) - refactoring
Diffstat (limited to 'ishtar_common/models.py')
-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 2898c7934..0a5fc30bf 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -5102,6 +5102,7 @@ class Document(BaseHistorizedItem, OwnPerms, ImageModel, ValueGetter, MainItem):
QUICK_ACTIONS = [
QA_EDIT
]
+ SERIALIZATION_FILES = ["image", "thumbnail", "associated_file"]
title = models.TextField(_("Title"), blank=True, default='')
associated_file = models.FileField(