summaryrefslogtreecommitdiff
path: root/releng/models.py
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-10-02 20:43:56 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-10-02 20:43:56 -0400
commit355087ebe2e3fbd5f860e4655888a89d9df52e34 (patch)
treed01f6206a2f2d054d4d1931019f5ba2a248fe982 /releng/models.py
parentae785343076fd1fe8b89f69ca370f7fcd0cdcbd4 (diff)
parentea00a099dffd7157c93af54b5817734348d2bbc6 (diff)
Merge branch 'archweb-generic' into master-nomake
Conflicts: templates/public/download.html templates/public/feeds.html templates/public/index.html urls.py
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)