Add choices for CSV-semicolon and TSV

This commit is contained in:
Per von Zweigbergk 2023-09-05 08:44:03 +02:00
parent 8668e5eded
commit 15c36514e6

View File

@ -221,12 +221,16 @@ class ImportMethodChoices(ChoiceSet):
class ImportFormatChoices(ChoiceSet):
AUTO = 'auto'
CSV = 'csv'
CSV_SEMICOLON = "csv-semicolon"
TSV = "tsv"
JSON = 'json'
YAML = 'yaml'
CHOICES = [
(AUTO, _('Auto-detect')),
(CSV, 'CSV'),
(CSV_SEMICOLON, 'CSV with semicolon seperators'),
(TSV, 'TSV'),
(JSON, 'JSON'),
(YAML, 'YAML'),
]