From c738e2c8f687f3417b90c951254121cce491843a Mon Sep 17 00:00:00 2001
From: Nicolás Reynolds <fauno@kiwwwi.com.ar>
Date: Sun, 6 Mar 2011 10:46:45 -0300
Subject: Redirect /download to wiki/get

---
 public/views.py | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/public/views.py b/public/views.py
index 43cc5882..330f04b4 100644
--- a/public/views.py
+++ b/public/views.py
@@ -7,6 +7,7 @@
 from django.db.models import Q
 from django.views.generic import list_detail
 from django.views.generic.simple import direct_to_template
+from django.shortcuts import redirect
 
 
 def index(request):
@@ -40,14 +41,7 @@ def donate(request):
     return direct_to_template(request, 'public/donate.html', context)
 
 def download(request):
-    qset = MirrorUrl.objects.select_related('mirror', 'protocol').filter(
-            protocol__is_download=True,
-            mirror__public=True, mirror__active=True, mirror__isos=True
-    )
-    return list_detail.object_list(request, 
-            qset.order_by('mirror__country', 'mirror__name', 'protocol'),
-            template_name="public/download.html",
-            template_object_name="mirror_url")
+    return redirect('http://wiki.parabolagnulinux.org/get', permanent=True)
 
 def feeds(request):
     context = {
-- 
cgit v1.2.3-54-g00ecf