mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-24 08:25:17 -06:00
Add choices for CSV-semicolon and TSV
This commit is contained in:
parent
8668e5eded
commit
15c36514e6
@ -221,12 +221,16 @@ class ImportMethodChoices(ChoiceSet):
|
|||||||
class ImportFormatChoices(ChoiceSet):
|
class ImportFormatChoices(ChoiceSet):
|
||||||
AUTO = 'auto'
|
AUTO = 'auto'
|
||||||
CSV = 'csv'
|
CSV = 'csv'
|
||||||
|
CSV_SEMICOLON = "csv-semicolon"
|
||||||
|
TSV = "tsv"
|
||||||
JSON = 'json'
|
JSON = 'json'
|
||||||
YAML = 'yaml'
|
YAML = 'yaml'
|
||||||
|
|
||||||
CHOICES = [
|
CHOICES = [
|
||||||
(AUTO, _('Auto-detect')),
|
(AUTO, _('Auto-detect')),
|
||||||
(CSV, 'CSV'),
|
(CSV, 'CSV'),
|
||||||
|
(CSV_SEMICOLON, 'CSV with semicolon seperators'),
|
||||||
|
(TSV, 'TSV'),
|
||||||
(JSON, 'JSON'),
|
(JSON, 'JSON'),
|
||||||
(YAML, 'YAML'),
|
(YAML, 'YAML'),
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user