Browse Source

update `api_url` with new interfaces endpoint.

Zach Moody 8 years ago
parent
commit
066a3b8b52
1 changed files with 1 additions and 1 deletions
  1. 1 1
      netbox/circuits/forms.py

+ 1 - 1
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'
         )
     )