Mercurial > public > sg101
view gpp/polls/urls.py @ 99:10d6182b9f6e
Forums: added error handling to the flagging of posts. Did the same with the comments function too.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Mon, 14 Sep 2009 00:06:08 +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'), )