Mercurial > public > sg101
view gpp/donations/urls.py @ 315:36373d995611
Oops, r336 was not right; I forgot to save the file before committing. Fixing that.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 29 Jan 2011 20:39:55 +0000 |
parents | b1c39788e511 |
children | ddd69a8e07c7 |
line wrap: on
line source
""" URLs for the donations application. """ from django.conf.urls.defaults import * from django.views.generic import TemplateView urlpatterns = patterns('donations.views', url(r'^$', 'index', name='donations-index'), url(r'^ipn/$', 'ipn', name='donations-ipn'), ) urlpatterns += patterns('', url(r'^thanks/$', TemplateView.as_view(template_name='donations/thanks.html'), name='donations-thanks'), )