summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-04-16 02:30:20 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2019-03-10 01:08:39 -0500
commita44820356bd4142f5dc537a85afdf524c7e3686d (patch)
tree810dce7521b77c830797399a853ab003e42f521c
parent613bc6c4bffaddb127103e61620dcef20fcd0eef (diff)
Fix my redirect views.
-rw-r--r--urls.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/urls.py b/urls.py
index ddc21ef3..9acc1899 100644
--- a/urls.py
+++ b/urls.py
@@ -28,15 +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'^hackers/$', 'userlist', { 'user_type':'hackers' }, 'page-devs'),
- (r'^fellows/$', 'userlist', { 'user_type':'fellows' }, 'page-fellows'),
- (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'),