From 6e6ba0ab166accc0416de209043bbcc0bc84ec69 Mon Sep 17 00:00:00 2001 From: Sean Smith Date: Tue, 28 Jul 2020 10:03:15 -0400 Subject: Allow Null Values in Admin Interface Signed-off-by: Sean Smith Change-Id: I6f3213ea47073ef4427a1f301ac6340e848e0891 --- src/resource_inventory/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resource_inventory') 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) -- cgit 1.2.3-korg