summaryrefslogtreecommitdiff
path: root/releng/models.py
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-10-02 20:52:06 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-10-02 20:52:06 -0400
commitdceadbebbe0b196278573ed294be8c631d45ecef (patch)
tree5274fc4e0397a705dcf1d488074bea9503b3f2c7 /releng/models.py
parent724f8c309c97aa9af7f963687342e8f37e682204 (diff)
parent355087ebe2e3fbd5f860e4655888a89d9df52e34 (diff)
Merge branch 'master-nomake'
Diffstat (limited to 'releng/models.py')
-rw-r--r--releng/models.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/releng/models.py b/releng/models.py
index a3af54f9..66690e81 100644
--- a/releng/models.py
+++ b/releng/models.py
@@ -90,9 +90,7 @@ class Bootloader(IsoOption):
class Test(models.Model):
user_name = models.CharField(max_length=500)
user_email = models.EmailField('email address')
- # Great work, Django... https://code.djangoproject.com/ticket/18212
- ip_address = models.GenericIPAddressField(verbose_name='IP address',
- unpack_ipv4=True)
+ ip_address = models.GenericIPAddressField('IP address', unpack_ipv4=True)
created = models.DateTimeField(editable=False)
iso = models.ForeignKey(Iso)
@@ -111,7 +109,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)