Mercurial > public > madeira
diff band/urls.py @ 71:e2868ad47a1e
For Django 1.4, using the new manage.py.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 14 Apr 2012 16:40:29 -0500 |
parents | madeira/band/urls.py@9b9daefba97a |
children | 846cda22d77c |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/band/urls.py Sat Apr 14 16:40:29 2012 -0500 @@ -0,0 +1,13 @@ +""" +Urls for the band application. + +""" +from django.conf.urls import patterns, url + +urlpatterns = patterns('band.views', + url(r'^bio/$', 'bio', name='band-bio'), + url(r'^buy/$', 'buy', name='band-buy'), + url(r'^contact/$', 'contact', name='band-contact'), + url(r'^photos/$', 'photos_index', name='band-photo_index'), + url(r'^photos/(\d+)$', 'photo_detail', name='band-photo_detail'), +)