view gpp/polls/urls.py @ 443:a01596ab17cf

Upate the notice on the registration template to include MSN along with Hotmail.
author Brian Neal <bgneal@gmail.com>
date Sat, 04 Jun 2011 03:12:15 +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'),
)