1
0
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:
Zach Moody
2017-03-24 18:58:19 -05:00
parent 066a3b8b52
commit 22bfac746e
2 changed files with 6 additions and 6 deletions

View File

@ -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(