Пример #1
0
 def save(self, *args, **kwargs):
     if self.inputs:
         self.inputs = generate_inputs_sshkeys(self.inputs)
     super(IaaS, self).save(*args, **kwargs)
Пример #2
0
 def save(self, *args, **kwargs):
     if self.inputs:
         self.inputs = generate_inputs_sshkeys(self.inputs)
     return super().save(*args, **kwargs)