summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 = {