diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-23 13:14:05 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-23 13:14:05 -0600 |
commit | 0aa246b85159bf627873308868cf169868cba569 (patch) | |
tree | 0fd52aebc6ab0d3d5eff592d00ff10fe920bb035 /mirrors/models.py | |
parent | 55b776d58999412cd6bf0787a41d6ab00bf80fb6 (diff) | |
parent | 31bc66e23c2ea0467d2201b86536f161fd1f32ca (diff) |
Merge branch 'archweb' into archweb-generic2
Diffstat (limited to 'mirrors/models.py')
-rw-r--r-- | mirrors/models.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mirrors/models.py b/mirrors/models.py index d8ac7952..975ead39 100644 --- a/mirrors/models.py +++ b/mirrors/models.py @@ -47,7 +47,7 @@ class Mirror(models.Model): class MirrorProtocol(models.Model): protocol = models.CharField(max_length=10, unique=True) is_download = models.BooleanField(default=True, - help_text="Is protocol useful for end-users, e.g. FTP/HTTP") + help_text="Is protocol useful for end-users, e.g. HTTP") default = models.BooleanField(default=True, help_text="Included by default when building mirror list?") created = models.DateTimeField(editable=False) @@ -70,6 +70,7 @@ class MirrorUrl(models.Model): has_ipv6 = models.BooleanField("IPv6 capable", default=False, editable=False) created = models.DateTimeField(editable=False) + active = models.BooleanField(default=True) def address_families(self): hostname = urlparse(self.url).hostname |