added null true to opennebula id atribute
This commit is contained in:
parent
c9c7023c73
commit
90307724c8
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ class VirtualMachinePlan(AssignPermissionsMixin, models.Model):
|
||||||
status = models.CharField(max_length=20, choices=VM_STATUS_CHOICES, default=PENDING_STATUS)
|
status = models.CharField(max_length=20, choices=VM_STATUS_CHOICES, default=PENDING_STATUS)
|
||||||
ip = models.CharField(max_length=50, blank=True)
|
ip = models.CharField(max_length=50, blank=True)
|
||||||
configuration = models.CharField(max_length=20, choices=VM_CONFIGURATION)
|
configuration = models.CharField(max_length=20, choices=VM_CONFIGURATION)
|
||||||
opennebula_id = models.IntegerField()
|
opennebula_id = models.IntegerField(null=True)
|
||||||
|
|
||||||
objects = VMPlansManager()
|
objects = VMPlansManager()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue