comparison 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
comparison
equal deleted inserted replaced
40:25e00d1b99bf 41:63e4211628e1
1 from django.conf.urls.defaults import *
2
3 urlpatterns = patterns('band.views',
4 (r'^$', 'index'),
5 (r'^bio/$', 'bio'),
6 (r'^buy/$', 'buy'),
7 (r'^contact/$', 'contact'),
8 (r'^gigs/$', 'gigs'),
9 (r'^gigs/flyers$', 'flyers'),
10 (r'^mail/$', 'mail'),
11 (r'^mail/confirm/([a-zA-Z0-9]+)$', 'mail_confirm'),
12 (r'^mail/not_found$', 'mail_not_found'),
13 (r'^mail/thanks$', 'mail_thanks'),
14 (r'^mail/unsubscribe$', 'mail_unsubscribe'),
15 (r'^news/$', 'news'),
16 (r'^photos/$', 'photos_index'),
17 (r'^photos/(\d+)$', 'photo_detail'),
18 (r'^press/$', 'press_index'),
19 (r'^press/(\d+)$', 'press_detail'),
20 (r'^songs/$', 'songs'),
21 (r'^videos/$', 'videos_index'),
22 (r'^videos/(\d+)$', 'video_detail'),
23 )
24
25 urlpatterns += patterns('band.admin_views',
26 (r'^admin/band/email/$', 'email'),
27 (r'^admin/band/email_sent/$', 'email_sent'),
28 )