annotate bio/urls.py @ 697:67f8d49a9377

Cleaned up the code a bit. Separated the S3 stuff out into its own class. This class maybe should be in core. Still want to do some kind of context manager around the temporary file we are creating to ensure it gets deleted.
author Brian Neal <bgneal@gmail.com>
date Sun, 08 Sep 2013 21:02:58 -0500
parents ee87ea74d46b
children 5ba2508939f7
rev   line source
gremmie@1 1 """urls for the bio application"""
bgneal@574 2 from django.conf.urls import patterns, url
gremmie@1 3
gremmie@1 4 urlpatterns = patterns('bio.views',
bgneal@289 5 url(r'^members/(?P<type>user|date)/$',
bgneal@289 6 'member_list',
bgneal@243 7 name='bio-member_list'),
bgneal@149 8 url(r'^members/search/$', 'member_search', name='bio-member_search'),
gremmie@1 9 url(r'^me/$', 'my_profile', name='bio-me'),
bgneal@289 10 url(r'^view/(?P<username>[\w.@+-]{1,30})/$', 'view_profile', name='bio-view_profile'),
gremmie@1 11 url(r'^edit/$', 'edit_profile', name='bio-edit_profile'),
bgneal@29 12 url(r'^edit/elsewhere/$', 'edit_elsewhere', name='bio-edit_elsewhere'),
gremmie@1 13 url(r'^avatar/$', 'change_avatar', name='bio-change_avatar'),
bgneal@138 14 url(r'^flag/(\d+)/$', 'flag_profile', name='bio-flag_profile'),
gremmie@1 15 )