Mercurial > public > madeira
annotate band/urls.py @ 180:312f198e8958
Changes for Django 1.8.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 13 Dec 2015 21:04:43 -0600 |
parents | 846cda22d77c |
children |
rev | line source |
---|---|
bgneal@56 | 1 """ |
bgneal@56 | 2 Urls for the band application. |
bgneal@56 | 3 |
bgneal@56 | 4 """ |
bgneal@180 | 5 from django.conf.urls import url |
bgneal@1 | 6 |
bgneal@180 | 7 import band.views |
bgneal@180 | 8 |
bgneal@180 | 9 |
bgneal@180 | 10 urlpatterns = [ |
bgneal@180 | 11 url(r'^bio/$', band.views.bio, name='band-bio'), |
bgneal@180 | 12 url(r'^buy/$', band.views.buy, name='band-buy'), |
bgneal@180 | 13 url(r'^contact/$', band.views.contact, name='band-contact'), |
bgneal@180 | 14 url(r'^photos/$', band.views.photos_index, name='band-photo_index'), |
bgneal@180 | 15 url(r'^photos/(\d+)/$', band.views.photo_detail, name='band-photo_detail'), |
bgneal@180 | 16 ] |