Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix bug introduced in 957cb2d.

Thanks Baptiste Mispelon.
  • Loading branch information...
commit e37f80afd667ef5c2f980643ce1797f3d1770eed 1 parent 62dce24
Aymeric Augustin aaugustin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django_www/urls.py
2  django_www/urls.py
View
@@ -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')),
Please sign in to comment.
Something went wrong with that request. Please try again.