annotate mysite/band/urls.py @ 9:dac690ab98b2

Display video sets on index page by date in descending order. Allow the video set date to be edited.
author Brian Neal <bgneal@gmail.com>
date Sun, 13 Dec 2009 21:47:08 +0000
parents 0dcfcdf50c62
children 25e00d1b99bf
rev   line source
bgneal@1 1 from django.conf.urls.defaults import *
bgneal@1 2
bgneal@1 3 urlpatterns = patterns('mysite.band.views',
bgneal@1 4 (r'^$', 'index'),
bgneal@1 5 (r'^bio/$', 'bio'),
bgneal@1 6 (r'^buy/$', 'buy'),
bgneal@1 7 (r'^contact/$', 'contact'),
bgneal@1 8 (r'^gigs/$', 'gigs'),
bgneal@1 9 (r'^gigs/flyers$', 'flyers'),
bgneal@1 10 (r'^mail/$', 'mail'),
bgneal@1 11 (r'^mail/confirm/([a-zA-Z0-9]+)$', 'mail_confirm'),
bgneal@1 12 (r'^mail/not_found$', 'mail_not_found'),
bgneal@1 13 (r'^mail/thanks$', 'mail_thanks'),
bgneal@1 14 (r'^mail/unsubscribe$', 'mail_unsubscribe'),
bgneal@1 15 (r'^news/$', 'news'),
bgneal@1 16 (r'^photos/$', 'photos_index'),
bgneal@1 17 (r'^photos/(\d+)$', 'photo_detail'),
bgneal@1 18 (r'^press/$', 'press_index'),
bgneal@1 19 (r'^press/(\d+)$', 'press_detail'),
bgneal@1 20 (r'^songs/$', 'songs'),
bgneal@1 21 (r'^videos/$', 'videos_index'),
bgneal@1 22 (r'^videos/(\d+)$', 'video_detail'),
bgneal@1 23 )
bgneal@1 24
bgneal@1 25 urlpatterns += patterns('mysite.band.admin_views',
bgneal@1 26 (r'^admin/band/email/$', 'email'),
bgneal@1 27 (r'^admin/band/email_sent/$', 'email_sent'),
bgneal@1 28 )