summaryrefslogtreecommitdiff
path: root/ishtar_common/models.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2018-08-13 17:41:51 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2018-08-13 17:41:51 +0200
commitc50083de33ee424f82d65c06a5764c3f6a9c3b2d (patch)
tree801d74c7b88686d366fa14606b68c991b4aeee3a /ishtar_common/models.py
parent75e05d42ac78163b6132c761fe9e9d6d780bbbc7 (diff)
downloadIshtar-c50083de33ee424f82d65c06a5764c3f6a9c3b2d.tar.bz2
Ishtar-c50083de33ee424f82d65c06a5764c3f6a9c3b2d.zip
Imports: do not stop on m2m error. Fix model and error report on M2M - Document add M2M import field.
Diffstat (limited to 'ishtar_common/models.py')
-rw-r--r--ishtar_common/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/models.py b/ishtar_common/models.py
index 13e91a680..86b74693f 100644
--- a/ishtar_common/models.py
+++ b/ishtar_common/models.py
@@ -3107,7 +3107,7 @@ post_save.connect(post_save_cache, sender=LicenseType)
post_delete.connect(post_save_cache, sender=LicenseType)
-class Document(OwnPerms, ImageModel, FullSearch):
+class Document(OwnPerms, ImageModel, FullSearch, Imported):
# order is important: put the image in the first match found
# other will be symbolic links
RELATED_MODELS = [