Mercurial > public > sg101
diff gpp/donations/urls.py @ 36:296b610ee507
Added IPN logic to the donations module. Added a thank-you view. Need to add logging to the IPN function.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 11 Jun 2009 00:54:44 +0000 |
parents | f77a1cdd7a46 |
children | b1c39788e511 |
line wrap: on
line diff
--- a/gpp/donations/urls.py Sun Jun 07 00:22:50 2009 +0000 +++ b/gpp/donations/urls.py Thu Jun 11 00:54:44 2009 +0000 @@ -6,5 +6,8 @@ urlpatterns = patterns('donations.views', url(r'^$', 'index', name='donations-index'), url(r'^ipn/$', 'ipn', name='donations-ipn'), - url(r'^thanks/$', 'thanks', name='donations-thanks'), ) +urlpatterns += patterns('django.views.generic.simple', + (r'^thanks/$', 'direct_to_template', + {'template': 'donations/thanks.html'}, 'donations-thanks') +)