Mercurial > public > sg101
view potd/urls.py @ 1058:9bd0d1ad4ba9
Tweaks after seeing V3 on phone.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 17 Mar 2016 20:31:37 -0500 |
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'), ]