comparison gpp/polls/urls.py @ 1:dbd703f7d63a

Initial import of sg101 stuff from private repository.
author gremmie
date Mon, 06 Apr 2009 02:43:12 +0000
parents
children 8acf5be27f18
comparison
equal deleted inserted replaced
0:900ba3c7b765 1:dbd703f7d63a
1 """urls for the polls application"""
2 from django.conf.urls.defaults import *
3
4 urlpatterns = patterns('polls.views',
5 url(r'^$', 'poll_index', name='polls-main'),
6 (r'^(?P<poll_id>\d+)/$', 'poll_detail'),
7 (r'^(?P<poll_id>\d+)/results/$', 'poll_results'),
8 (r'^(?P<poll_id>\d+)/vote/$', 'poll_vote'),
9 )