8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 15:33:45 +00:00

Vlan Autocomplete for portprofile

This commit is contained in:
chirac 2020-12-28 16:18:58 +01:00
parent d976b0b3f8
commit 2b3bb62a21

View file

@ -316,7 +316,10 @@ class EditPortProfileForm(FormRevMixin, ModelForm):
fields = "__all__"
widgets = {
"vlan_tagged": AutocompleteMultipleModelMixin(
url="/machine/vlan-autocomplete",
url="/machines/vlan-autocomplete",
),
"vlan_untagged": AutocompleteModelMixin(
url="/machines/vlan-autocomplete",
),
}