summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-04-16 02:30:20 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-04-16 02:30:20 -0400
commit55e55b1f3c35efc95fb6583a68e49a45a23e1de6 (patch)
tree19f0becce579aacc997b45fbcb2a4b22b1eac5e7
parent2858866bd6ed0fb31b038fb763c7b4c59b20f0fe (diff)
Fix my redirect views.
-rw-r--r--urls.py6
1 files 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'),