Permalink
Browse files

Add CSRF token, required for Django 1.2

  • Loading branch information...
1 parent 82a7eb6 commit 92c800978b430bdbbbf6769db71d7f844f12dfa2 @jlev jlev committed Nov 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/django_antichaos/templates/antichaos/tag_cloud.html
@@ -58,7 +58,7 @@
<h2>{% trans 'History' %}</h2>
<ul class="history">
</ul>
- <form class="tag-cloud" action="" method="POST" >
+ <form class="tag-cloud" action="" method="POST" >{% csrf_token %}
<input class="undo" type="submit" value="{% trans 'Undo' %}" disabled="true"/>
<input type="submit" value="{% trans 'Apply' %}" disabled="true"/>
</form>

0 comments on commit 92c8009

Please sign in to comment.