From a5e06762e795f5d2a23d7a6ab7cd63c6dc101c57 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz 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):