From 3f93c48c3d29cc86ea7e3ba15220b9804feedb09 Mon Sep 17 00:00:00 2001 From: chirac Date: Mon, 28 Dec 2020 18:46:37 +0100 Subject: [PATCH] Add ouverture ports on autocomplete --- machines/forms.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/machines/forms.py b/machines/forms.py index 0c78be3e..f663f5a9 100644 --- a/machines/forms.py +++ b/machines/forms.py @@ -253,6 +253,9 @@ class IpTypeForm(FormRevMixin, ModelForm): "extension": AutocompleteModelMixin( url="/machines/extension-autocomplete", ), + "ouverture_ports": AutocompleteModelMixin( + url="/machines/ouvertureportlist-autocomplete", + ), } def __init__(self, *args, **kwargs):