gremmie@1: """urls for the polls application""" gremmie@1: from django.conf.urls.defaults import * gremmie@1: gremmie@1: urlpatterns = patterns('polls.views', gremmie@1: url(r'^$', 'poll_index', name='polls-main'), gremmie@1: (r'^(?P\d+)/$', 'poll_detail'), gremmie@1: (r'^(?P\d+)/results/$', 'poll_results'), gremmie@1: (r'^(?P\d+)/vote/$', 'poll_vote'), gremmie@1: )