summaryrefslogtreecommitdiff
path: root/ishtar_common/models_imports.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-10-05 17:00:12 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2024-04-16 16:38:32 +0200
commitaa2abd6df37846e4735d7b7d3bdea2fdd4ba9928 (patch)
treee1d8678c70ea58db4aa3e1f808d705fa9fe75f87 /ishtar_common/models_imports.py
parentb75d3163bed945b58e643982820883e72e4b8dc4 (diff)
downloadIshtar-aa2abd6df37846e4735d7b7d3bdea2fdd4ba9928.tar.bz2
Ishtar-aa2abd6df37846e4735d7b7d3bdea2fdd4ba9928.zip
🗃️ imports: add ignore_errors field
Diffstat (limited to 'ishtar_common/models_imports.py')
-rw-r--r--ishtar_common/models_imports.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ishtar_common/models_imports.py b/ishtar_common/models_imports.py
index 1723fc5bf..6c60051fc 100644
--- a/ishtar_common/models_imports.py
+++ b/ishtar_common/models_imports.py
@@ -202,6 +202,12 @@ class ImporterType(models.Model):
pre_import_message = models.TextField(
_("Pre-import form message"), blank=True, default="", max_length=500
)
+ ignore_errors = models.TextField(
+ verbose_name=_("Error messages to ignore"), blank=True, null=True,
+ help_text=_("If an error is encountered with the following character strings, the error is not reported in "
+ "the error file. Each message is separated with a line break.")
+ )
+
objects = SlugModelManager()
SERIALIZATION_EXCLUDE = ["users"]