Mercurial > public > madeira
comparison mysite/band/urls.py @ 1:0dcfcdf50c62
Initial import of Madeira project from the private repository.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 06 Apr 2009 03:10:59 +0000 |
parents | |
children | 25e00d1b99bf |
comparison
equal
deleted
inserted
replaced
0:df0370bfe3f0 | 1:0dcfcdf50c62 |
---|---|
1 from django.conf.urls.defaults import * | |
2 | |
3 urlpatterns = patterns('mysite.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('mysite.band.admin_views', | |
26 (r'^admin/band/email/$', 'email'), | |
27 (r'^admin/band/email_sent/$', 'email_sent'), | |
28 ) |