view gpp/bio/urls.py @ 334:6805d15cda13

Adding a script I had to write on the fly to filter out posts from the posts csv file that had no parent topics. MyISAM let me get away with that, but InnoDB won't.
author Brian Neal <bgneal@gmail.com>
date Sat, 26 Feb 2011 01:28:22 +0000
parents 0dd8989abef2
children ddd69a8e07c7
line wrap: on
line source
"""urls for the bio application"""
from django.conf.urls.defaults import *

urlpatterns = patterns('bio.views',
    url(r'^members/(?P<type>user|date)/$',
        'member_list',
        name='bio-member_list'),
    url(r'^members/search/$', 'member_search', name='bio-member_search'),
    url(r'^me/$', 'my_profile', name='bio-me'),
    url(r'^view/(?P<username>[\w.@+-]{1,30})/$', 'view_profile', name='bio-view_profile'),
    url(r'^edit/$', 'edit_profile', name='bio-edit_profile'),
    url(r'^edit/elsewhere/$', 'edit_elsewhere', name='bio-edit_elsewhere'),
    url(r'^avatar/$', 'change_avatar', name='bio-change_avatar'),
    url(r'^flag/(\d+)/$', 'flag_profile', name='bio-flag_profile'),
)