From 066a3b8b5234d907c6b638b689ed1b8902726201 Mon Sep 17 00:00:00 2001 From: Zach Moody Date: Fri, 24 Mar 2017 18:42:23 -0500 Subject: [PATCH] update `api_url` with new interfaces endpoint. --- netbox/circuits/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox/circuits/forms.py b/netbox/circuits/forms.py index 167ab8943..384fc053d 100644 --- a/netbox/circuits/forms.py +++ b/netbox/circuits/forms.py @@ -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' ) )