summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-10-04 17:40:38 -0500
committerDan McGee <dan@archlinux.org>2010-10-04 17:40:38 -0500
commite847030d83796a5f8cccce2fb409dd4d672f71f3 (patch)
tree59af906f54cff6dbefdd0f6fc973c6715c7df6ca /public
parent11f0db759bb04d0dce303de91c6df441cdf0bfee (diff)
Switch another query to use is_download
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'public')
-rw-r--r--public/views.py2
1 files changed, 1 insertions, 1 deletions
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,