Mercurial > public > sg101
view potd/urls.py @ 1041:565c31469bea
Added Bob Dalley's book to store page.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 15 Jan 2016 21:29:51 -0600 |
parents | 5ba2508939f7 |
children |
line wrap: on
line source
""" URLs for the POTD application. """ from django.conf.urls import url import potd.views urlpatterns = [ url(r'^$', potd.views.view, name='potd-view'), url(r'^archive/(\d+)/$', potd.views.archive, name='potd-archive'), ]