From 4ec2197deab2f7df1cb94a6506fac9127b3ae414 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 17 Apr 2015 21:52:14 -0400 Subject: I can't intercept /people/* urls --- urls.py | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/urls.py b/urls.py index c60a3dbe..2036c577 100644 --- a/urls.py +++ b/urls.py @@ -99,26 +99,24 @@ 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/'), + ('^fellows/$', '/people/hacker-fellows/'), + ('^trustedusers/$', '/people/hackers/'), ('^docs/en/guide/install/arch-install-guide.html', 'https://wiki.parabola.nu/Installation_Guide'), ('^docs/en/', 'https://wiki.parabola.nu/'), ('^docs/', 'https://wiki.parabola.nu/'), - - ('^developers/$', '/hackers/'), - ('^trustedusers/$', '/hackers/'), ) urlpatterns += [url(old_url, RedirectView.as_view(url=new_url)) -- cgit v1.2.3-54-g00ecf