update `api_url` with new interfaces endpoint.

This commit is contained in:
Zach Moody 2017-03-24 18:42:23 -05:00
parent 48141c0693
commit 066a3b8b52
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ class CircuitTerminationForm(BootstrapMixin, forms.ModelForm):
required=False,
label='Interface',
widget=APISelect(
api_url='/api/dcim/devices/{{device}}/interfaces/?type=physical',
api_url='/api/dcim/interfaces/?device_id={{device}}&type=physical',
disabled_indicator='is_connected'
)
)