From 90307724c820c578295e5ebad7c31636e53eeb74 Mon Sep 17 00:00:00 2001 From: Levi Date: Sat, 6 May 2017 18:09:01 -0500 Subject: [PATCH] added null true to opennebula id atribute --- hosting/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosting/models.py b/hosting/models.py index 3eaae483..1232dda3 100644 --- a/hosting/models.py +++ b/hosting/models.py @@ -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()