diff options
author | Dan McGee <dan@archlinux.org> | 2014-06-28 19:02:27 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2014-09-01 22:35:06 +0200 |
commit | 0b17362c37ee91d329184fae3bb3f38801ede152 (patch) | |
tree | 295b6ca3278c191da06ee99e2baab81d8de13bbf | |
parent | 08ecb6036b6f2f552c2d9f9171e4eacf5bfba022 (diff) | |
download | archweb-0b17362c37ee91d329184fae3bb3f38801ede152.tar.gz archweb-0b17362c37ee91d329184fae3bb3f38801ede152.tar.xz |
Add default value for boolean field
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | releng/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |