From 8d764e1d6421ba73b4c6c94dc7a07091fa72ceb1 Mon Sep 17 00:00:00 2001 From: chirac Date: Sun, 22 Oct 2017 14:41:15 +0200 Subject: [PATCH] Fix bug sur infra (encore) --- machines/forms.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/machines/forms.py b/machines/forms.py index 92392aba..2c1c53c7 100644 --- a/machines/forms.py +++ b/machines/forms.py @@ -184,9 +184,10 @@ class AliasForm(ModelForm): ) -class DomainForm(AliasForm): +class DomainForm(ModelForm): """Ajout et edition d'un enregistrement de nom, relié à interface""" - class Meta(AliasForm.Meta): + class Meta: + model = Domain fields = ['name'] def __init__(self, *args, **kwargs):