From 55e55b1f3c35efc95fb6583a68e49a45a23e1de6 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 16 Apr 2015 02:30:20 -0400 Subject: Fix my redirect views. --- urls.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/urls.py b/urls.py index 04820713..81c80ec6 100644 --- a/urls.py +++ b/urls.py @@ -28,13 +28,13 @@ urlpatterns += patterns('public.views', (r'^$', 'index', {}, 'index'), (r'^about/$', TemplateView.as_view(template_name='public/about.html'), {}, 'page-about'), - ('^art/$', RedirectView.as_view('https://projects.parabola.nu/artwork.git/'), + (r'^art/$', RedirectView.as_view(url='https://projects.parabola.nu/artwork.git/'), {}, 'page-art'), (r'^https/$', TemplateView.as_view(template_name='public/https.html'), {}, 'page-https'), - (r'^donate/$', RedirectView.as_view('https://wiki.parabola.nu/Donations'), + (r'^donate/$', RedirectView.as_view(url='https://wiki.parabola.nu/Donations'), {}, 'page-donate'), - (r'^download/$', RedirectView.as_view('https://wiki.parabola.nu/Get_Parabola'), + (r'^download/$', RedirectView.as_view(url='https://wiki.parabola.nu/Get_Parabola'), {}, 'page-download'), (r'^master-keys/$', 'keys', {}, 'page-keys'), (r'^master-keys/json/$', 'keys_json', {}, 'pgp-keys-json'), -- cgit v1.2.3