From 778faf5d4c2ed7e97a28954c8e49dca49ae8fc69 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Thu, 26 Oct 2017 21:47:54 +0200 Subject: [PATCH] Fix bug merge --- topologie/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/topologie/forms.py b/topologie/forms.py index 0119435d..562b87e2 100644 --- a/topologie/forms.py +++ b/topologie/forms.py @@ -140,7 +140,7 @@ class EditRoomForm(ModelForm): super(EditRoomForm, self).__init__(*args, prefix=prefix, **kwargs) -class CreatePortsForm(Form): +class CreatePortsForm(forms.Form): """Permet de créer une liste de ports pour un switch.""" begin = forms.IntegerField(label="Début :", min_value=0) end = forms.IntegerField(label="Fin :", min_value=0)