view gpp/polls/urls.py @ 162:6a5bdcf93ad3

Fix #48; shoutbox was no longer escaping user input on display.
author Brian Neal <bgneal@gmail.com>
date Tue, 22 Dec 2009 03:55:37 +0000
parents dbd703f7d63a
children 8acf5be27f18
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'),
   (r'^(?P<poll_id>\d+)/$', 'poll_detail'),
   (r'^(?P<poll_id>\d+)/results/$', 'poll_results'),
   (r'^(?P<poll_id>\d+)/vote/$', 'poll_vote'),
)