comparison gpp/bio/urls.py @ 138:7ea842744a57

Ticket #15, add a way to report user profiles.
author Brian Neal <bgneal@gmail.com>
date Fri, 27 Nov 2009 21:55:32 +0000
parents 74f04122295e
children ab7830b067b3
comparison
equal deleted inserted replaced
137:c7d75cdfea21 138:7ea842744a57
8 url(r'^me/$', 'my_profile', name='bio-me'), 8 url(r'^me/$', 'my_profile', name='bio-me'),
9 url(r'^view/(?P<username>\w{1,30})/$', 'view_profile', name='bio-view_profile'), 9 url(r'^view/(?P<username>\w{1,30})/$', 'view_profile', name='bio-view_profile'),
10 url(r'^edit/$', 'edit_profile', name='bio-edit_profile'), 10 url(r'^edit/$', 'edit_profile', name='bio-edit_profile'),
11 url(r'^edit/elsewhere/$', 'edit_elsewhere', name='bio-edit_elsewhere'), 11 url(r'^edit/elsewhere/$', 'edit_elsewhere', name='bio-edit_elsewhere'),
12 url(r'^avatar/$', 'change_avatar', name='bio-change_avatar'), 12 url(r'^avatar/$', 'change_avatar', name='bio-change_avatar'),
13 url(r'^flag/(\d+)/$', 'flag_profile', name='bio-flag_profile'),
13 ) 14 )
14 15
15 urlpatterns += patterns('django.views.generic.simple', 16 urlpatterns += patterns('django.views.generic.simple',
16 url(r'^members/$', 17 url(r'^members/$',
17 'redirect_to', 18 'redirect_to',
18 {'url': '/profile/members/user/page/1/'}, 19 {'url': '/profile/members/user/page/1/'},
19 name='bio-members'), 20 name='bio-members'),
20 ) 21 )
21 22
22
23 # vim: ts=4 sw=4