Mercurial > public > sg101
view gpp/potd/urls.py @ 166:8acf5be27f18
Implement #50, add a template tag to display the latest poll and add to the home page.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 17 Jan 2010 20:24:01 +0000 |
parents | 7b6540b185d9 |
children | ddd69a8e07c7 |
line wrap: on
line source
""" URLs for the POTD application. """ from django.conf.urls.defaults import * urlpatterns = patterns('potd.views', url(r'^$', 'view', name='potd-view'), url(r'^archive/(\d+)/$', 'archive', name='potd-archive'), )