Browse Source

Merge branch 'machine_on_type_vlan' into 'dev'

L'autocreation renvoie l'interface crée

See merge request federez/re2o!212
serializer_ipv6_prefix_length
chirac 8 years ago
parent
commit
f168a4f72d
  1. 2
      users/models.py

2
users/models.py

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

Loading…
Cancel
Save