diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2023-10-05 17:00:12 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2024-02-05 10:51:52 +0100 |
commit | b9097926dfd5aeb2ce211122920298956d802824 (patch) | |
tree | 1ecc0b7586955d76a33a76a495b577b1d5382395 /ishtar_common/models_imports.py | |
parent | 71d9b6fdc1b48f0a31c3c2f348bb715d9dde155b (diff) | |
download | Ishtar-b9097926dfd5aeb2ce211122920298956d802824.tar.bz2 Ishtar-b9097926dfd5aeb2ce211122920298956d802824.zip |
🗃️ imports: add ignore_errors field
Diffstat (limited to 'ishtar_common/models_imports.py')
-rw-r--r-- | ishtar_common/models_imports.py | 6 |
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"] |