diff bio/urls.py @ 581:ee87ea74d46b

For Django 1.4, rearranged project structure for new manage.py.
author Brian Neal <bgneal@gmail.com>
date Sat, 05 May 2012 17:10:48 -0500
parents gpp/bio/urls.py@ddd69a8e07c7
children 5ba2508939f7
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bio/urls.py	Sat May 05 17:10:48 2012 -0500
@@ -0,0 +1,15 @@
+"""urls for the bio application"""
+from django.conf.urls import patterns, url
+
+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'),
+)