diff options
Diffstat (limited to 'public/views.py')
-rw-r--r-- | public/views.py | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/public/views.py b/public/views.py index 0b245071..57634983 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, HttpResponseRedirect +from django.http import Http404, HttpResponse from django.shortcuts import render from django.views.decorators.cache import cache_control, cache_page @@ -63,14 +63,6 @@ def userlist(request, user_type='hackers'): return render(request, 'public/userlist.html', context) -@cache_control(max_age=307) -def donate(request): - context = { - 'donors': Donor.objects.filter(visible=True).order_by('name'), - } - return render(request, 'public/donate.html', context) - - def _mirror_urls(): '''In order to ensure this is lazily evaluated since we can't do sorting at the database level, make it a callable.''' @@ -82,10 +74,6 @@ def _mirror_urls(): @cache_control(max_age=307) -def download(request): - return HttpResponseRedirect('https://wiki.parabola.nu/Get_Parabola') - -@cache_control(max_age=307) def feeds(request): repos = Repo.objects.all() if not request.user.is_authenticated(): |