Mercurial > public > madeira
comparison 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 |
comparison
equal
deleted
inserted
replaced
70:f26cdda0ad8b | 71:e2868ad47a1e |
---|---|
1 """ | |
2 Urls for the band application. | |
3 | |
4 """ | |
5 from django.conf.urls import patterns, url | |
6 | |
7 urlpatterns = patterns('band.views', | |
8 url(r'^bio/$', 'bio', name='band-bio'), | |
9 url(r'^buy/$', 'buy', name='band-buy'), | |
10 url(r'^contact/$', 'contact', name='band-contact'), | |
11 url(r'^photos/$', 'photos_index', name='band-photo_index'), | |
12 url(r'^photos/(\d+)$', 'photo_detail', name='band-photo_detail'), | |
13 ) |