bgneal@1: from django.conf.urls.defaults import * bgneal@1: bgneal@1: urlpatterns = patterns('mysite.band.views', bgneal@1: (r'^$', 'index'), bgneal@1: (r'^bio/$', 'bio'), bgneal@1: (r'^buy/$', 'buy'), bgneal@1: (r'^contact/$', 'contact'), bgneal@1: (r'^gigs/$', 'gigs'), bgneal@1: (r'^gigs/flyers$', 'flyers'), bgneal@1: (r'^mail/$', 'mail'), bgneal@1: (r'^mail/confirm/([a-zA-Z0-9]+)$', 'mail_confirm'), bgneal@1: (r'^mail/not_found$', 'mail_not_found'), bgneal@1: (r'^mail/thanks$', 'mail_thanks'), bgneal@1: (r'^mail/unsubscribe$', 'mail_unsubscribe'), bgneal@1: (r'^news/$', 'news'), bgneal@1: (r'^photos/$', 'photos_index'), bgneal@1: (r'^photos/(\d+)$', 'photo_detail'), bgneal@1: (r'^press/$', 'press_index'), bgneal@1: (r'^press/(\d+)$', 'press_detail'), bgneal@1: (r'^songs/$', 'songs'), bgneal@1: (r'^videos/$', 'videos_index'), bgneal@1: (r'^videos/(\d+)$', 'video_detail'), bgneal@1: ) bgneal@1: bgneal@1: urlpatterns += patterns('mysite.band.admin_views', bgneal@1: (r'^admin/band/email/$', 'email'), bgneal@1: (r'^admin/band/email_sent/$', 'email_sent'), bgneal@1: )