summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2011-03-06 10:46:45 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2011-03-06 10:46:45 -0300
commitc738e2c8f687f3417b90c951254121cce491843a (patch)
treee9296a3e2a7854cbff3d15a465b104d447c03b7f /public
parent7a8d07a623db6323a12376f4021fe231143bc8f8 (diff)
Redirect /download to wiki/get
Diffstat (limited to 'public')
-rw-r--r--public/views.py10
1 files 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.contrib.auth.models import User
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 = {