comparison gpp/bio/urls.py @ 149:ab7830b067b3

Implement ticket #40. Added a simple way to search for usernames and then view their profile. Moved this ajax username search feature out of the messages app and into core.
author Brian Neal <bgneal@gmail.com>
date Mon, 14 Dec 2009 05:07:28 +0000
parents 7ea842744a57
children 7ddd60164245
comparison
equal deleted inserted replaced
148:35a0e6345815 149:ab7830b067b3
3 3
4 urlpatterns = patterns('bio.views', 4 urlpatterns = patterns('bio.views',
5 url(r'^members/(?P<type>user|date)/page/(?P<page>\d+)/$', 5 url(r'^members/(?P<type>user|date)/page/(?P<page>\d+)/$',
6 'member_list', 6 'member_list',
7 name='bio-members_full'), 7 name='bio-members_full'),
8 url(r'^members/search/$', 'member_search', name='bio-member_search'),
8 url(r'^me/$', 'my_profile', name='bio-me'), 9 url(r'^me/$', 'my_profile', name='bio-me'),
9 url(r'^view/(?P<username>\w{1,30})/$', 'view_profile', name='bio-view_profile'), 10 url(r'^view/(?P<username>\w{1,30})/$', 'view_profile', name='bio-view_profile'),
10 url(r'^edit/$', 'edit_profile', name='bio-edit_profile'), 11 url(r'^edit/$', 'edit_profile', name='bio-edit_profile'),
11 url(r'^edit/elsewhere/$', 'edit_elsewhere', name='bio-edit_elsewhere'), 12 url(r'^edit/elsewhere/$', 'edit_elsewhere', name='bio-edit_elsewhere'),
12 url(r'^avatar/$', 'change_avatar', name='bio-change_avatar'), 13 url(r'^avatar/$', 'change_avatar', name='bio-change_avatar'),