8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-26 22:52:26 +00:00

fix: Wrong url path for interface autocomplete on port edition form

This commit is contained in:
Gabriel Detraz 2021-01-26 20:10:09 +01:00
parent 7c18f1f5ab
commit 367e972ceb

View file

@ -70,7 +70,7 @@ class PortForm(FormRevMixin, ModelForm):
"switch": AutocompleteModelWidget(url="/topologie/switch-autocomplete"), "switch": AutocompleteModelWidget(url="/topologie/switch-autocomplete"),
"room": AutocompleteModelWidget(url="/topologie/room-autocomplete"), "room": AutocompleteModelWidget(url="/topologie/room-autocomplete"),
"machine_interface": AutocompleteModelWidget( "machine_interface": AutocompleteModelWidget(
url="/machine/machine-autocomplete" url="/machines/interface-autocomplete"
), ),
"related": AutocompleteModelWidget(url="/topologie/port-autocomplete"), "related": AutocompleteModelWidget(url="/topologie/port-autocomplete"),
"custom_profile": AutocompleteModelWidget( "custom_profile": AutocompleteModelWidget(