Просмотр исходного кода

Fixes #19166: Fix bulk import support for base_choices (#19257)

Jeremy Stretch 10 месяцев назад
Родитель
Сommit
60cdf89cad
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      netbox/extras/forms/bulk_import.py

+ 1 - 1
netbox/extras/forms/bulk_import.py

@@ -96,7 +96,7 @@ class CustomFieldChoiceSetImportForm(CSVModelForm):
     class Meta:
         model = CustomFieldChoiceSet
         fields = (
-            'name', 'description', 'extra_choices', 'order_alphabetically',
+            'name', 'description', 'base_choices', 'extra_choices', 'order_alphabetically',
         )
 
     def clean_extra_choices(self):