diff options
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -28,12 +28,14 @@ urlpatterns += patterns('public.views', (r'^$', 'index', {}, 'index'), (r'^about/$', TemplateView.as_view(template_name='public/about.html'), {}, 'page-about'), - (r'^art/$', TemplateView.as_view(template_name='public/art.html'), + ('^art/$', RedirectView.as_view('https://projects.parabola.nu/artwork.git/'), {}, 'page-art'), - (r'^svn/$', TemplateView.as_view(template_name='public/svn.html'), - {}, 'page-svn'), - (r'^donate/$', 'donate', {}, 'page-donate'), - (r'^download/$', 'download', {}, 'page-download'), + (r'^https/$', TemplateView.as_view(template_name='public/https.html'), + {}, 'page-https'), + (r'^donate/$', RedirectView.as_view('https://wiki.parabola.nu/Donations'), + {}, 'page-donate'), + (r'^download/$', RedirectView.as_view('https://wiki.parabola.nu/Get_Parabola'), + {}, 'page-download'), (r'^master-keys/$', 'keys', {}, 'page-keys'), (r'^master-keys/json/$', 'keys_json', {}, 'pgp-keys-json'), (r'^people/(?P<slug>[-\w]+)/$', 'people', {}, 'people'), @@ -72,11 +74,6 @@ urlpatterns += patterns('', {}, 'opensearch-packages-suggest'), ) -# Retro home page views -urlpatterns += patterns('retro.views', - (r'^retro/(?P<year>[0-9]{4})/$', 'retro_homepage', {}, 'retro-homepage'), -) - # Sitemaps urlpatterns += patterns('', (r'^sitemap.xml$', @@ -118,11 +115,14 @@ legacy_urls = ( ('^trustedusers/$', '/people/trusted-users/'), ('^docs/en/guide/install/arch-install-guide.html', - 'https://wiki.archlinux.org/index.php/Installation_guide'), + 'https://wiki.parabola.nu/Installation_Guide'), ('^docs/en/', - 'https://wiki.archlinux.org/'), + 'https://wiki.parabola.nu/'), ('^docs/', - 'https://wiki.archlinux.org/'), + 'https://wiki.parabola.nu/'), + + ('^developers/$', '/hackers/'), + ('^trustedusers/$', '/hackers/'), ) urlpatterns += [url(old_url, RedirectView.as_view(url=new_url)) |