Mercurial > public > sg101
view gpp/polls/urls.py @ 9:b3b11edf91d8
News: removed the lxml stuff. Based on Jacob Kaplan-Moss suggestion, use html5lib to clean html. Added that functionality in a new core.html module.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 12 Apr 2009 02:03:03 +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'), )