From d01eff305163114a1619330de7549a08635d2a7a Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Tue, 30 Jan 2018 02:02:43 +0000 Subject: [PATCH] Bug fix creation d'extensions --- machines/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/machines/models.py b/machines/models.py index 721d6199..dbba2c30 100644 --- a/machines/models.py +++ b/machines/models.py @@ -815,7 +815,7 @@ class Extension(models.Model): def __str__(self): return self.name - def clean(self): + def clean(self, *args, **kwargs): if self.name and self.name[0] != '.': raise ValidationError("Une extension doit commencer par un point") super(Extension, self).clean(*args, **kwargs)