From 3a1101db1d18be2f95342ad8943722eb94ae577e Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 13 Feb 2012 12:34:35 -0600 Subject: 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 --- mirrors/models.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mirrors/models.py') 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 -- cgit v1.2.3-2-g168b