1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Merge pull request #3885 from hSaria/568-csv-import-cf

Fixes #568: CSV import/export of custom fields
This commit is contained in:
Jeremy Stretch
2020-01-29 10:11:40 -05:00
committed by GitHub
11 changed files with 114 additions and 25 deletions

View File

@ -116,7 +116,7 @@ class SecretForm(BootstrapMixin, CustomFieldForm):
})
class SecretCSVForm(forms.ModelForm):
class SecretCSVForm(CustomFieldForm):
device = FlexibleModelChoiceField(
queryset=Device.objects.all(),
to_field_name='name',