aboutsummaryrefslogtreecommitdiffstats
path: root/src/resource_inventory/models.py
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2020-07-28 15:42:13 +0000
committerGerrit Code Review <gerrit@opnfv.org>2020-07-28 15:42:13 +0000
commit32909ee3b27f964efd33f9c4b5607d9b1309e9c7 (patch)
treeecd45e18db51d34ac3c44182816f32cacb4e0d5b /src/resource_inventory/models.py
parentd1444957d2649c03e7bc4d8c16107706a1856199 (diff)
parent6e6ba0ab166accc0416de209043bbcc0bc84ec69 (diff)
Merge "Allow Null Values in Admin Interface"
Diffstat (limited to 'src/resource_inventory/models.py')
-rw-r--r--src/resource_inventory/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resource_inventory/models.py b/src/resource_inventory/models.py
index 4a6375d..7a1f259 100644
--- a/src/resource_inventory/models.py
+++ b/src/resource_inventory/models.py
@@ -122,7 +122,7 @@ class CpuProfile(models.Model):
])
cpus = models.IntegerField()
host = models.ForeignKey(ResourceProfile, on_delete=models.CASCADE, related_name='cpuprofile')
- cflags = models.TextField(null=True)
+ cflags = models.TextField(null=True, blank=True)
def __str__(self):
return str(self.architecture) + " " + str(self.cpus) + "S" + str(self.cores) + " C for " + str(self.host)