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