Mercurial > public > madeira
view madeira/band/urls.py @ 41:63e4211628e1
Rename the mysite directory to madeira.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 14 Feb 2012 19:15:16 -0600 |
parents | mysite/band/urls.py@25e00d1b99bf |
children | ab83b727d97f |
line wrap: on
line source
from django.conf.urls.defaults import * urlpatterns = patterns('band.views', (r'^$', 'index'), (r'^bio/$', 'bio'), (r'^buy/$', 'buy'), (r'^contact/$', 'contact'), (r'^gigs/$', 'gigs'), (r'^gigs/flyers$', 'flyers'), (r'^mail/$', 'mail'), (r'^mail/confirm/([a-zA-Z0-9]+)$', 'mail_confirm'), (r'^mail/not_found$', 'mail_not_found'), (r'^mail/thanks$', 'mail_thanks'), (r'^mail/unsubscribe$', 'mail_unsubscribe'), (r'^news/$', 'news'), (r'^photos/$', 'photos_index'), (r'^photos/(\d+)$', 'photo_detail'), (r'^press/$', 'press_index'), (r'^press/(\d+)$', 'press_detail'), (r'^songs/$', 'songs'), (r'^videos/$', 'videos_index'), (r'^videos/(\d+)$', 'video_detail'), ) urlpatterns += patterns('band.admin_views', (r'^admin/band/email/$', 'email'), (r'^admin/band/email_sent/$', 'email_sent'), )