summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-07-18 18:39:45 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-07-18 18:39:45 -0600
commit8bb02840bd8771ee5b66bfd53bedab8ff71b65d4 (patch)
tree01791f519f6abe1f7601ebd63077684bd6070a45
parentfaf664e25279fc6da8099774c72369974fee85bd (diff)
parent51cbd72b4a9833dc715c1abad5eaf925f6c8e492 (diff)
Merge branch 'master-nomake'
-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):