gremmie@1: """urls for the polls application""" bgneal@1028: from django.conf.urls import url gremmie@1: bgneal@1028: import polls.views bgneal@1028: bgneal@1028: bgneal@1028: urlpatterns = [ bgneal@1028: url(r'^$', polls.views.poll_index, name='polls-main'), bgneal@1028: url(r'^(?P\d+)/$', polls.views.poll_detail, name='polls-detail'), bgneal@1028: url(r'^(?P\d+)/vote/$', polls.views.poll_vote, name='polls-vote'), bgneal@1028: url(r'^delete_vote/$', polls.views.poll_delete_vote, name='polls-delete_vote'), bgneal@1028: ]