From dbf24147bcd0c658e311067e0661f9911d70c6cb Mon Sep 17 00:00:00 2001 From: Charlie Jacomme Date: Tue, 26 Jun 2018 18:59:15 +0200 Subject: [PATCH] fix mailalias model --- users/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users/models.py b/users/models.py index 102ed827..f290bfa8 100644 --- a/users/models.py +++ b/users/models.py @@ -1634,7 +1634,7 @@ class MailAlias(RevMixin, AclMixin, models.Model): help_text="username de l'adresse mail" ) extension = models.ForeignKey( - 'Extension', + 'machines.Extension', on_delete=models.CASCADE, help_text="Extension mail interne" )