Commit 03fd40e4 authored by fred's avatar fred
Browse files

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

parent 09b50c29
......@@ -16,7 +16,6 @@
<form method="post" action="{% url 'newsletter-subscribe' %}"
class="marged" id="subscribe-form">
<p>Tous les lundis, l'actualité de la semaine de Panik :</p>
{% csrf_token %}
{{ newsletter_form.as_table }}
<button>M'inscrire</button>
</form>
......
Supports Markdown
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