8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-21 19:03:11 +00:00

Merge branch 'fix_autocomplete_port' into 'master'

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

See merge request re2o/re2o!601
This commit is contained in:
Jean-Romain Garnier 2021-01-26 20:57:33 +01:00
commit 0a1dc9edd8

View file

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