gremmie@1: """urls for the polls application""" gremmie@1: from django.conf.urls.defaults import * 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+)/results/$', 'poll_results', name='polls-results'), bgneal@166: url(r'^(?P\d+)/vote/$', 'poll_vote', name='polls-vote'), gremmie@1: )