Commit 32e311cf authored by fred's avatar fred

remove csrf protection from subscribe form, to avoid a cookie hit on homepage

parent 20053f91
......@@ -33,7 +33,7 @@ class SubscribeView(CreateView):
model = Subscriber
success_url = 'thanks'
subscribe = SubscribeView.as_view()
subscribe = csrf_exempt(SubscribeView.as_view())
class ThanksView(TemplateView):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment