diff 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
line wrap: on
line diff
--- a/donations/urls.py	Fri Apr 22 22:20:47 2016 -0500
+++ b/donations/urls.py	Sat Apr 23 00:01:40 2016 -0500
@@ -2,7 +2,6 @@
 URLs for the donations application.
 """
 from django.conf.urls import url
-from django.views.generic import TemplateView
 
 import donations.views
 
@@ -10,6 +9,5 @@
 urlpatterns = [
     url(r'^$', donations.views.index, name='donations-index'),
     url(r'^ipn/$', donations.views.ipn, name='donations-ipn'),
-    url(r'^thanks/$', TemplateView.as_view(template_name='donations/thanks.html'),
-        name='donations-thanks'),
+    url(r'^thanks/$', donations.views.ThanksView.as_view(), name='donations-thanks'),
 ]