Permalink
Browse files

added csrf_token

  • Loading branch information...
1 parent 7e6ba13 commit cbcba25a891949440b81213ca9c03fe9cf8c08f4 @brosner brosner committed Apr 19, 2010
Showing with 2 additions and 0 deletions.
  1. +1 −0 CHANGELOG
  2. +1 −0 flag/templates/flag/flag_form.html
View
@@ -6,3 +6,4 @@ django-flag CHANGELOG
===
* BI: renamed {% load flagtags %} to {% load flag_tags %}
+ * requires Django 1.1.2+
@@ -2,6 +2,7 @@
{% block content %}
<form method="POST" action="{% url flag %}">
+ {% csrf_token %}
<table>
<tr><td><textarea id="id_comment" rows="10" cols="40" name="comment"></textarea></td></tr>
<tr>

0 comments on commit cbcba25

Please sign in to comment.