view gpp/polls/urls.py @ 444:a0847158cf72

Tweaking the birthday block; now display a list of people for each day and bold the current day.
author Brian Neal <bgneal@gmail.com>
date Sat, 04 Jun 2011 19:10:34 +0000
parents 1f139de929c4
children 8f46ba2f1b81
line wrap: on
line source
"""urls for the polls application"""
from django.conf.urls.defaults import *

urlpatterns = patterns('polls.views',
    url(r'^$', 'poll_index', name='polls-main'),
    url(r'^(?P<poll_id>\d+)/$', 'poll_detail', name='polls-detail'),
    url(r'^(?P<poll_id>\d+)/results/$', 'poll_results', name='polls-results'),
    url(r'^(?P<poll_id>\d+)/vote/$', 'poll_vote', name='polls-vote'),
    url(r'^delete_vote/$', 'poll_delete_vote', name='polls-delete_vote'),
)