Signed-off-by: Cleber Rosa <[email protected]>
---
 frontend/afe/models.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/frontend/afe/models.py b/frontend/afe/models.py
index dd47a80..e24685e 100644
--- a/frontend/afe/models.py
+++ b/frontend/afe/models.py
@@ -486,8 +486,8 @@ class Host(model_logic.ModelWithInvalid, dbmodels.Model,
 class HostAttribute(dbmodels.Model):
     """Arbitrary keyvals associated with hosts."""
     host = dbmodels.ForeignKey(Host)
-    attribute = dbmodels.CharField(max_length=90)
-    value = dbmodels.CharField(max_length=300)
+    attribute = dbmodels.CharField(max_length=90, blank=False)
+    value = dbmodels.CharField(max_length=300, blank=False)
 
     objects = model_logic.ExtendedManager()
 
-- 
1.7.11.7

_______________________________________________
Autotest-kernel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/autotest-kernel

Reply via email to