mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
fix remaining legacy api url paths.
This commit is contained in:
@ -412,7 +412,7 @@ class IPAddressAssignForm(BootstrapMixin, forms.Form):
|
||||
queryset=Interface.objects.all(),
|
||||
label='Interface',
|
||||
widget=APISelect(
|
||||
api_url='/api/dcim/devices/{{device}}/interfaces/'
|
||||
api_url='/api/dcim/interfaces/?device_id={{device}}'
|
||||
)
|
||||
)
|
||||
set_as_primary = forms.BooleanField(
|
||||
|
Reference in New Issue
Block a user