diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mysite/band/urls.py	Mon Apr 06 03:10:59 2009 +0000
@@ -0,0 +1,28 @@
+from django.conf.urls.defaults import *
+
+urlpatterns = patterns('mysite.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('mysite.band.admin_views',
+   (r'^admin/band/email/$', 'email'),
+   (r'^admin/band/email_sent/$', 'email_sent'),
+)