summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-10-05 00:40:38 +0200
committerDan McGee <dan@archlinux.org>2010-10-05 00:40:38 +0200
commite847030d83796a5f8cccce2fb409dd4d672f71f3 (patch)
tree59af906f54cff6dbefdd0f6fc973c6715c7df6ca
parent11f0db759bb04d0dce303de91c6df441cdf0bfee (diff)
downloadarchweb-e847030d83796a5f8cccce2fb409dd4d672f71f3.tar.gz
archweb-e847030d83796a5f8cccce2fb409dd4d672f71f3.tar.xz
Switch another query to use is_download
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--public/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/views.py b/public/views.py
index 6fbb689..0661db6 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,