From e847030d83796a5f8cccce2fb409dd4d672f71f3 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Mon, 4 Oct 2010 17:40:38 -0500 Subject: Switch another query to use is_download Signed-off-by: Dan McGee --- public/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public') diff --git a/public/views.py b/public/views.py index 6fbb6896..0661db62 100644 --- a/public/views.py +++ b/public/views.py @@ -44,7 +44,7 @@ def donate(request): def download(request): qset = MirrorUrl.objects.select_related('mirror', 'protocol').filter( - Q(protocol__protocol__iexact='HTTP') | Q(protocol__protocol__iexact='FTP'), + protocol__is_download=True, mirror__public=True, mirror__active=True, mirror__isos=True ) return list_detail.object_list(request, -- cgit v1.2.3-54-g00ecf