From 15c36514e66ee754f08db9d25d26ccd7ebecb077 Mon Sep 17 00:00:00 2001 From: Per von Zweigbergk Date: Tue, 5 Sep 2023 08:44:03 +0200 Subject: [PATCH] Add choices for CSV-semicolon and TSV --- netbox/utilities/choices.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/netbox/utilities/choices.py b/netbox/utilities/choices.py index b6f97e309..9ee39934d 100644 --- a/netbox/utilities/choices.py +++ b/netbox/utilities/choices.py @@ -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'), ]