Mercurial > public > madeira
comparison mysite/band/urls.py @ 40:25e00d1b99bf
Get rid of the project name 'mysite' from the source.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 14 Feb 2012 19:09:57 -0600 |
parents | 0dcfcdf50c62 |
children |
comparison
equal
deleted
inserted
replaced
39:b8e166ca993a | 40:25e00d1b99bf |
---|---|
1 from django.conf.urls.defaults import * | 1 from django.conf.urls.defaults import * |
2 | 2 |
3 urlpatterns = patterns('mysite.band.views', | 3 urlpatterns = patterns('band.views', |
4 (r'^$', 'index'), | 4 (r'^$', 'index'), |
5 (r'^bio/$', 'bio'), | 5 (r'^bio/$', 'bio'), |
6 (r'^buy/$', 'buy'), | 6 (r'^buy/$', 'buy'), |
7 (r'^contact/$', 'contact'), | 7 (r'^contact/$', 'contact'), |
8 (r'^gigs/$', 'gigs'), | 8 (r'^gigs/$', 'gigs'), |
20 (r'^songs/$', 'songs'), | 20 (r'^songs/$', 'songs'), |
21 (r'^videos/$', 'videos_index'), | 21 (r'^videos/$', 'videos_index'), |
22 (r'^videos/(\d+)$', 'video_detail'), | 22 (r'^videos/(\d+)$', 'video_detail'), |
23 ) | 23 ) |
24 | 24 |
25 urlpatterns += patterns('mysite.band.admin_views', | 25 urlpatterns += patterns('band.admin_views', |
26 (r'^admin/band/email/$', 'email'), | 26 (r'^admin/band/email/$', 'email'), |
27 (r'^admin/band/email_sent/$', 'email_sent'), | 27 (r'^admin/band/email_sent/$', 'email_sent'), |
28 ) | 28 ) |