From 0b17362c37ee91d329184fae3bb3f38801ede152 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 28 Jun 2014 12:02:27 -0500 Subject: Add default value for boolean field Signed-off-by: Dan McGee --- releng/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'releng') diff --git a/releng/models.py b/releng/models.py index c73e28d..5d4caf2 100644 --- a/releng/models.py +++ b/releng/models.py @@ -111,7 +111,7 @@ class Test(models.Model): rollback_modules = models.ManyToManyField(Module, related_name="rollback_test_set", null=True, blank=True) - success = models.BooleanField() + success = models.BooleanField(default=True) comments = models.TextField(null=True, blank=True) -- cgit v1.2.3-24-g4f1b