summaryrefslogtreecommitdiff
path: root/mirrors/models.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2013-05-31 19:12:29 -0500
committerDan McGee <dan@archlinux.org>2013-05-31 19:12:29 -0500
commitbbeb9276051c2dc34f6d63fac4963343aacdf9b2 (patch)
tree90536c33820fe23b799f08d21a673d1dfb87421e /mirrors/models.py
parent80ae71464cadcf91f04cc194bb3930462643015f (diff)
Add active column to mirror URLs
Diffstat (limited to 'mirrors/models.py')
-rw-r--r--mirrors/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mirrors/models.py b/mirrors/models.py
index 91793e0a..975ead39 100644
--- a/mirrors/models.py
+++ b/mirrors/models.py
@@ -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