diff --git a/users/models.py b/users/models.py index 61f58920..f5e2039f 100644 --- a/users/models.py +++ b/users/models.py @@ -1651,7 +1651,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" )