annotate gpp/polls/urls.py @ 63:5899e308cdb3
Sigh, changed the donations data format because it seems to be different than the stand-alone IPN tester. The month name doesn't have a dot after it.
author |
Brian Neal <bgneal@gmail.com> |
date |
Sat, 27 Jun 2009 21:40:04 +0000 |
parents |
dbd703f7d63a |
children |
8acf5be27f18 |
rev |
line source |
gremmie@1
|
1 """urls for the polls application"""
|
gremmie@1
|
2 from django.conf.urls.defaults import *
|
gremmie@1
|
3
|
gremmie@1
|
4 urlpatterns = patterns('polls.views',
|
gremmie@1
|
5 url(r'^$', 'poll_index', name='polls-main'),
|
gremmie@1
|
6 (r'^(?P<poll_id>\d+)/$', 'poll_detail'),
|
gremmie@1
|
7 (r'^(?P<poll_id>\d+)/results/$', 'poll_results'),
|
gremmie@1
|
8 (r'^(?P<poll_id>\d+)/vote/$', 'poll_vote'),
|
gremmie@1
|
9 )
|