comparison donations/urls.py @ 1079:75189bd9c4ba

Convert donations pages to V3 design.
author Brian Neal <bgneal@gmail.com>
date Sat, 23 Apr 2016 00:01:40 -0500
parents 5ba2508939f7
children
comparison
equal deleted inserted replaced
1078:6bf83070b19f 1079:75189bd9c4ba
1 """ 1 """
2 URLs for the donations application. 2 URLs for the donations application.
3 """ 3 """
4 from django.conf.urls import url 4 from django.conf.urls import url
5 from django.views.generic import TemplateView
6 5
7 import donations.views 6 import donations.views
8 7
9 8
10 urlpatterns = [ 9 urlpatterns = [
11 url(r'^$', donations.views.index, name='donations-index'), 10 url(r'^$', donations.views.index, name='donations-index'),
12 url(r'^ipn/$', donations.views.ipn, name='donations-ipn'), 11 url(r'^ipn/$', donations.views.ipn, name='donations-ipn'),
13 url(r'^thanks/$', TemplateView.as_view(template_name='donations/thanks.html'), 12 url(r'^thanks/$', donations.views.ThanksView.as_view(), name='donations-thanks'),
14 name='donations-thanks'),
15 ] 13 ]