annotate gpp/bio/urls.py @ 28:04377c5bf912

Added bulletins template tag.
author Brian Neal <bgneal@gmail.com>
date Wed, 22 Apr 2009 00:34:42 +0000
parents dbd703f7d63a
children 74f04122295e
rev   line source
gremmie@1 1 """urls for the bio application"""
gremmie@1 2 from django.conf.urls.defaults import *
gremmie@1 3
gremmie@1 4 urlpatterns = patterns('bio.views',
gremmie@1 5 url(r'^members/(?P<type>user|date)/page/(?P<page>\d+)/$',
gremmie@1 6 'member_list',
gremmie@1 7 name='bio-members_full'),
gremmie@1 8 url(r'^me/$', 'my_profile', name='bio-me'),
gremmie@1 9 url(r'^view/(?P<username>\w{1,30})/$', 'view_profile', name='bio-view_profile'),
gremmie@1 10 url(r'^edit/$', 'edit_profile', name='bio-edit_profile'),
gremmie@1 11 url(r'^avatar/$', 'change_avatar', name='bio-change_avatar'),
gremmie@1 12 )
gremmie@1 13
gremmie@1 14 urlpatterns += patterns('django.views.generic.simple',
gremmie@1 15 url(r'^members/$',
gremmie@1 16 'redirect_to',
gremmie@1 17 {'url': '/profile/members/user/page/1/'},
gremmie@1 18 name='bio-members'),
gremmie@1 19 )
gremmie@1 20
gremmie@1 21
gremmie@1 22 # vim: ts=4 sw=4