Browse Source

L'autocreation renvoie l'interface crée

serializer_ipv6_prefix_length
Gabriel Detraz 8 years ago
parent
commit
a4007b985f
  1. 2
      users/models.py

2
users/models.py

@ -652,7 +652,7 @@ class User(RevMixin, FieldPermissionModelMixin, AbstractBaseUser,
self.notif_auto_newmachine(interface_cible)
except Exception as error:
return False, error
return True, "Ok"
return interface_cible, "Ok"
def notif_auto_newmachine(self, interface):
"""Notification mail lorsque une machine est automatiquement

Loading…
Cancel
Save