Skip to content
Browse files

Fix bug introduced in 957cb2d.

Thanks Baptiste Mispelon.
  • Loading branch information...
1 parent 62dce24 commit e37f80afd667ef5c2f980643ce1797f3d1770eed @aaugustin aaugustin committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django_www/
2 django_www/
@@ -42,7 +42,7 @@
# PayPal insists on POSTing to the "thank you" page which means we can't
# just use a flatpage for it.
- url(r'^foundation/donate/thanks/$', csrf_exempt(TemplateView.as_view(template_name='donate_thanks.html'))),
+ url(r'^foundation/donate/thanks/$', csrf_exempt(lambda req: render(req, 'donate_thanks.html'))),
# django-push
url(r'^subscriber/', include('django_push.subscriber.urls')),

0 comments on commit e37f80a

Please sign in to comment.
Something went wrong with that request. Please try again.