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

Mark provider_account as not required in API and bulk import

This commit is contained in:
kkthxbye-code
2023-05-01 07:44:15 +02:00
parent 25dc7e234d
commit 528fb21a7e
2 changed files with 3 additions and 2 deletions

View File

@ -74,7 +74,8 @@ class CircuitImportForm(NetBoxModelImportForm):
provider_account = CSVModelChoiceField(
queryset=ProviderAccount.objects.all(),
to_field_name='name',
help_text=_('Assigned provider account')
help_text=_('Assigned provider account'),
required=False
)
type = CSVModelChoiceField(
queryset=CircuitType.objects.all(),