summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/public/views.py b/public/views.py
index 1ae091a0..b34c4d8a 100644
--- a/public/views.py
+++ b/public/views.py
@@ -5,7 +5,7 @@ from operator import attrgetter
from django.conf import settings
from django.contrib.auth.models import User
from django.db.models import Count, Q
-from django.http import Http404, HttpResponse
+from django.http import Http404, HttpResponse, HttpResponseRedirect
from django.shortcuts import render
from django.views.decorators.cache import cache_control, cache_page
@@ -81,7 +81,7 @@ def _mirror_urls():
@cache_control(max_age=300)
def download(request):
- return redirect('https://wiki.parabolagnulinux.org/get', permanent=True)
+ return HttpResponseRedirect('https://wiki.parabolagnulinux.org/get')
@cache_control(max_age=300)
def feeds(request):