csrf and honeypots
[wolnelektury.git] / apps / wolnelektury_core / templates / admin / catalogue / book / change_list.html
index 09e567a..0ec95b2 100644 (file)
@@ -3,6 +3,7 @@
 
 {% block content %}
     <form action="{% url import_book %}" method="post" enctype="multipart/form-data">
+    {% csrf_token %}
         <p><input type="file" id="id_book_xml_file" name="book_xml_file" /> <input type="submit" value="{% trans "Import book" %}"/></p>
     </form>
     {{ block.super }}