diff options
author | Dan McGee <dan@archlinux.org> | 2012-02-13 12:34:35 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-02-13 12:36:37 -0600 |
commit | 3a1101db1d18be2f95342ad8943722eb94ae577e (patch) | |
tree | 7399633feb3a406328060833cb6452c7cd67c1b7 /mirrors/models.py | |
parent | fa6f85f127f5f100f98c0ce130cea2277cd02a0e (diff) |
Don't select FTP by default in mirrorlists
More generally, add a new 'default' column to the mirror protocol model
so we can determine what is selected and shown by default.
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'mirrors/models.py')
-rw-r--r-- | mirrors/models.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mirrors/models.py b/mirrors/models.py index 111654fd..86905eea 100644 --- a/mirrors/models.py +++ b/mirrors/models.py @@ -54,6 +54,8 @@ 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") + default = models.BooleanField(default=True, + help_text="Included by default when building mirror list?") def __unicode__(self): return self.protocol |