From aa2abd6df37846e4735d7b7d3bdea2fdd4ba9928 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 5 Oct 2023 17:00:12 +0200 Subject: 🗃️ imports: add ignore_errors field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/models_imports.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ishtar_common/models_imports.py') 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"] -- cgit v1.2.3