diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-16 02:30:20 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-16 02:30:20 -0400 |
commit | 55e55b1f3c35efc95fb6583a68e49a45a23e1de6 (patch) | |
tree | 19f0becce579aacc997b45fbcb2a4b22b1eac5e7 | |
parent | 2858866bd6ed0fb31b038fb763c7b4c59b20f0fe (diff) |
Fix my redirect views.
-rw-r--r-- | urls.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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'), |