mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 02:48:38 -06:00
Change fhrpgroup accessor to name
This commit is contained in:
parent
98272c29f7
commit
a1f6523bf1
@ -328,11 +328,11 @@ class IPAddressImportForm(NetBoxModelImportForm):
|
||||
help_text=_('Assigned interface')
|
||||
)
|
||||
fhrpgroup = CSVModelChoiceField(
|
||||
label=_('FHRP Group (ID)'),
|
||||
label=_('FHRP Group'),
|
||||
queryset=FHRPGroup.objects.all(),
|
||||
required=False,
|
||||
to_field_name='group_id',
|
||||
help_text=_('Assigned FHRP Group ID')
|
||||
to_field_name='name',
|
||||
help_text=_('Assigned FHRP Group name')
|
||||
)
|
||||
is_primary = forms.BooleanField(
|
||||
label=_('Is primary'),
|
||||
|
Loading…
Reference in New Issue
Block a user