summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-04-17 21:52:14 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-04-17 21:52:14 -0400
commit4ec2197deab2f7df1cb94a6506fac9127b3ae414 (patch)
treed13c0c250024f90355ca33bd1ce94d473da46b97
parentd2eb47c0dfc068c7727232d89daeee377969288d (diff)
I can't intercept /people/* urlsparabolaweb-2015-04-18
-rw-r--r--urls.py14
1 files 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 @@ 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))