diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-17 21:52:14 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2015-04-17 21:52:14 -0400 |
commit | 4ec2197deab2f7df1cb94a6506fac9127b3ae414 (patch) | |
tree | d13c0c250024f90355ca33bd1ce94d473da46b97 | |
parent | d2eb47c0dfc068c7727232d89daeee377969288d (diff) |
I can't intercept /people/* urls
-rw-r--r-- | urls.py | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -99,26 +99,24 @@ 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/'), + ('^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)) |