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/fixtures/mirrorprotocols.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mirrors/fixtures') diff --git a/mirrors/fixtures/mirrorprotocols.json b/mirrors/fixtures/mirrorprotocols.json index 35614b3..72ed1a7 100644 --- a/mirrors/fixtures/mirrorprotocols.json +++ b/mirrors/fixtures/mirrorprotocols.json @@ -4,6 +4,7 @@ "model": "mirrors.mirrorprotocol", "fields": { "is_download": true, + "default": true, "protocol": "http" } }, @@ -12,6 +13,7 @@ "model": "mirrors.mirrorprotocol", "fields": { "is_download": true, + "default": false, "protocol": "ftp" } }, @@ -20,7 +22,8 @@ "model": "mirrors.mirrorprotocol", "fields": { "is_download": false, + "default": false, "protocol": "rsync" } } -] \ No newline at end of file +] -- cgit v1.2.3-24-g4f1b