bgneal@35: """ bgneal@35: URLs for the donations application. bgneal@35: """ bgneal@574: from django.conf.urls import patterns, url bgneal@311: from django.views.generic import TemplateView bgneal@35: bgneal@35: urlpatterns = patterns('donations.views', bgneal@35: url(r'^$', 'index', name='donations-index'), bgneal@35: url(r'^ipn/$', 'ipn', name='donations-ipn'), bgneal@35: ) bgneal@311: urlpatterns += patterns('', bgneal@311: url(r'^thanks/$', TemplateView.as_view(template_name='donations/thanks.html'), bgneal@311: name='donations-thanks'), bgneal@36: )