diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-21 23:35:25 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-04-21 23:35:25 -0400 |
commit | d895f2f04bbe1002e6f177671c3c50970b6d2bac (patch) | |
tree | 7236d278ab4435d74bd813440ad4eddce1f63aca | |
parent | 3caad5541777a2906627b3a895ca7b101f91bd72 (diff) |
remove dead code from public/views.py
-rw-r--r-- | public/views.py | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/public/views.py b/public/views.py index 0e9287fa..9cf68603 100644 --- a/public/views.py +++ b/public/views.py @@ -61,17 +61,7 @@ def donate(request): @cache_control(max_age=300) def download(request): - mirror_urls = MirrorUrl.objects.select_related('mirror').filter( - protocol__default=True, - mirror__public=True, mirror__active=True, mirror__isos=True) - sort_by = attrgetter('real_country.name', 'mirror.name') - mirror_urls = sorted(mirror_urls, key=sort_by) - context = { - 'releng_iso_url': settings.ISO_LIST_URL, - 'releng_pxeboot_url': settings.PXEBOOT_URL, - 'mirror_urls': mirror_urls, - } - return redirect('//wiki.parabolagnulinux.org/get', permanent=True) + return redirect('https://wiki.parabolagnulinux.org/get', permanent=True) @cache_control(max_age=300) def feeds(request): |