gremmie@1: """urls for the bio application""" gremmie@1: from django.conf.urls.defaults import * gremmie@1: gremmie@1: urlpatterns = patterns('bio.views', gremmie@1: url(r'^members/(?Puser|date)/page/(?P\d+)/$', gremmie@1: 'member_list', gremmie@1: name='bio-members_full'), gremmie@1: url(r'^me/$', 'my_profile', name='bio-me'), gremmie@1: url(r'^view/(?P\w{1,30})/$', 'view_profile', name='bio-view_profile'), gremmie@1: url(r'^edit/$', 'edit_profile', name='bio-edit_profile'), bgneal@29: url(r'^edit/elsewhere/$', 'edit_elsewhere', name='bio-edit_elsewhere'), gremmie@1: url(r'^avatar/$', 'change_avatar', name='bio-change_avatar'), gremmie@1: ) gremmie@1: gremmie@1: urlpatterns += patterns('django.views.generic.simple', gremmie@1: url(r'^members/$', gremmie@1: 'redirect_to', gremmie@1: {'url': '/profile/members/user/page/1/'}, gremmie@1: name='bio-members'), gremmie@1: ) gremmie@1: gremmie@1: gremmie@1: # vim: ts=4 sw=4