Mercurial > public > sg101
view gpp/polls/urls.py @ 556:70722b7d10af
For bitbucket issue #1, add open graph meta tags to forum topics.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 29 Jan 2012 14:42:42 -0600 |
parents | 8f46ba2f1b81 |
children | ddd69a8e07c7 |
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+)/vote/$', 'poll_vote', name='polls-vote'), url(r'^delete_vote/$', 'poll_delete_vote', name='polls-delete_vote'), )