view 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 source
"""
URLs for the donations application.
"""
from django.conf.urls.defaults import *

urlpatterns = patterns('donations.views',
    url(r'^$', 'index', name='donations-index'),
    url(r'^ipn/$', 'ipn', name='donations-ipn'),
)
urlpatterns += patterns('django.views.generic.simple',
    (r'^thanks/$', 'direct_to_template', 
        {'template': 'donations/thanks.html'}, 'donations-thanks')
)