annotate bio/urls.py @ 1110:38946dfe9cba
Try to expand bandmap canvas.
author |
Brian Neal <bgneal@gmail.com> |
date |
Sun, 10 Jul 2016 21:55:53 -0500 |
parents |
eeaf387803c6 |
children |
|
rev |
line source |
gremmie@1
|
1 """urls for the bio application"""
|
bgneal@1028
|
2 from django.conf.urls import url
|
gremmie@1
|
3
|
bgneal@1028
|
4 import bio.views
|
bgneal@1028
|
5
|
bgneal@1028
|
6 urlpatterns = [
|
bgneal@289
|
7 url(r'^members/(?P<type>user|date)/$',
|
bgneal@1028
|
8 bio.views.member_list,
|
bgneal@243
|
9 name='bio-member_list'),
|
bgneal@1028
|
10 url(r'^members/search/$', bio.views.member_search, name='bio-member_search'),
|
bgneal@1028
|
11 url(r'^me/$', bio.views.my_profile, name='bio-me'),
|
bgneal@1035
|
12 url(r'^view/(?P<username>[\w.@+-]{1,30})/$', bio.views.view_profile,
|
bgneal@1035
|
13 name='bio-view_profile'),
|
bgneal@1028
|
14 url(r'^edit/$', bio.views.edit_profile, name='bio-edit_profile'),
|
bgneal@1028
|
15 url(r'^edit/elsewhere/$', bio.views.edit_elsewhere, name='bio-edit_elsewhere'),
|
bgneal@1028
|
16 url(r'^avatar/$', bio.views.change_avatar, name='bio-change_avatar'),
|
bgneal@1028
|
17 url(r'^flag/(\d+)/$', bio.views.flag_profile, name='bio-flag_profile'),
|
bgneal@1028
|
18 ]
|