added null true to opennebula id atribute

This commit is contained in:
Levi 2017-05-06 18:09:01 -05:00
parent c9c7023c73
commit 90307724c8

View file

@ -125,7 +125,7 @@ class VirtualMachinePlan(AssignPermissionsMixin, models.Model):
status = models.CharField(max_length=20, choices=VM_STATUS_CHOICES, default=PENDING_STATUS)
ip = models.CharField(max_length=50, blank=True)
configuration = models.CharField(max_length=20, choices=VM_CONFIGURATION)
opennebula_id = models.IntegerField()
opennebula_id = models.IntegerField(null=True)
objects = VMPlansManager()