diff options
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 33 |
1 files changed, 15 insertions, 18 deletions
@@ -28,12 +28,12 @@ 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'), + (r'^art/$', RedirectView.as_view(url='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'^donate/$', RedirectView.as_view(url='https://wiki.parabola.nu/Donations'), + {}, 'page-donate'), + (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'), (r'^people/(?P<slug>[-\w]+)/$', 'people', {}, 'people'), @@ -72,11 +72,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$', @@ -102,23 +97,25 @@ urlpatterns += patterns('django.contrib.auth.views', legacy_urls = ( ('^about.php', '/about/'), ('^changelog.php', '/packages/?sort=-last_update'), - ('^devs.php', '/people/developers/'), + ('^devs.php', '/people/hackers/'), ('^donations.php', '/donate/'), ('^download.php', '/download/'), ('^index.php', '/'), ('^logos.php', '/art/'), ('^news.php', '/news/'), ('^packages.php', '/packages/'), - ('^people.php', '/people/developers/'), + ('^people.php', '/people/hackers/'), ('^todolists/$', '/todo/'), - ('^developers/$', '/people/developers/'), - ('^fellows/$', '/people/developer-fellows/'), - ('^trustedusers/$', '/people/trusted-users/'), + ('^hackers/$', '/people/hackers/'), + ('^developers/$', '/people/hackers/'), + ('^artists/$', '/people/artists/'), + ('^fellows/$', '/people/hacker-fellows/'), + ('^trustedusers/$', '/people/hackers/'), ('^docs/en/guide/install/arch-install-guide.html', - 'https://wiki.archlinux.org/index.php/Installation_guide'), - ('^docs/en/', 'https://wiki.archlinux.org/'), - ('^docs/', 'https://wiki.archlinux.org/'), + 'https://wiki.parabola.nu/Installation_Guide'), + ('^docs/en/', 'https://wiki.parabola.nu/'), + ('^docs/', 'https://wiki.parabola.nu/'), ) urlpatterns += [url(old_url, RedirectView.as_view(url=new_url)) |