From 2f24d27cf2d91f2820b05ed2e50df51fed024552 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 13 Aug 2018 17:41:51 +0200 Subject: Imports: do not stop on m2m error. Fix model and error report on M2M - Document add M2M import field. --- ishtar_common/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ishtar_common/models.py') 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 = [ -- cgit v1.2.3