summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-01-31 22:55:49 -0600
committerDan McGee <dan@archlinux.org>2010-01-31 22:55:49 -0600
commit31b38b49c3736c5dcd139fa63ab06ad211aa25a1 (patch)
treee3a0344a856f061edb86924185d1522b5c39e27d /urls.py
parentde780492ef3f3a625ae4dca22c1dbee7a36bc16d (diff)
downloadarchweb-31b38b49c3736c5dcd139fa63ab06ad211aa25a1.tar.gz
archweb-31b38b49c3736c5dcd139fa63ab06ad211aa25a1.zip
Spruce up the developer view pages
Quite a few changes here. Unify the developer view pages into one actual django view and template, and use different dispatches from urls.py to set up the three different queries for who to display and what message and group name to show. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/urls.py b/urls.py
index c9ec80c6..28bd0045 100644
--- a/urls.py
+++ b/urls.py
@@ -99,8 +99,9 @@ urlpatterns = patterns('',
(r'^about/$', direct_to_template, {'template': 'public/about.html'}),
(r'^art/$', direct_to_template, {'template': 'public/art.html'}),
(r'^svn/$', direct_to_template, {'template': 'public/svn.html'}),
- (r'^developers/$', 'archweb.public.views.developers'),
- (r'^fellows/$', 'archweb.public.views.fellows'),
+ (r'^developers/$', 'archweb.public.views.userlist', { 'type':'Developers' }),
+ (r'^trustedusers/$', 'archweb.public.views.userlist', { 'type':'Trusted Users' }),
+ (r'^fellows/$', 'archweb.public.views.userlist', { 'type':'Fellows' }),
(r'^donate/$', 'archweb.public.views.donate'),
(r'^download/$', 'archweb.public.views.download'),
(r'^irc/$', direct_to_template, {'template': 'public/irc.html'}),