Add CSRF protection to all templates

This commit is contained in:
2010-11-05 17:02:00 +00:00
parent 3505ed5d96
commit ab29b9653d
16 changed files with 16 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
<form action="{% url hr.views.accept_application applicationid %}" method="post">
<table>
{{ form.as_table }}
{% csrf_token %}
</table>
<input type="submit" value="Apply" />
</form>

View File

@@ -9,6 +9,7 @@
<table>
{{ form.as_table }}
</table>
{% csrf_token %}
<input type="submit" value="Apply" />
</form>
{% endblock %}

View File

@@ -7,6 +7,7 @@
<table>
{{ form.as_table }}
</table>
{% csrf_token %}
<input type="submit" value="Apply" />
</form>
{% endblock %}

View File

@@ -7,6 +7,7 @@
<table>
{{ form.as_table }}
</table>
{% csrf_token %}
<input type="submit" value="Apply" />
</form>
{% endblock %}

View File

@@ -8,6 +8,7 @@
<table>
{{ form.as_table }}
</table>
{% csrf_token %}
<input type="submit" value="Apply" />
</form>
{% endblock %}