From e4d4250dad8d19b4932709ddb271fba47c4e07a0 Mon Sep 17 00:00:00 2001 From: chirac Date: Mon, 28 Dec 2020 16:18:58 +0100 Subject: [PATCH] Vlan Autocomplete for portprofile --- topologie/forms.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/topologie/forms.py b/topologie/forms.py index 348e834e..2687d65a 100644 --- a/topologie/forms.py +++ b/topologie/forms.py @@ -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", ), }