From 31b38b49c3736c5dcd139fa63ab06ad211aa25a1 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 31 Jan 2010 22:55:49 -0600 Subject: 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 --- urls.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'urls.py') 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'}), -- cgit v1.2.3-55-g3dc8