tickets: Use CSRF protection middleware.
authorMatthijs Kooijman <matthijs@stdin.nl>
Tue, 19 Oct 2010 08:54:27 +0000 (10:54 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Tue, 19 Oct 2010 09:03:20 +0000 (11:03 +0200)
tickets/templates/tickets/bookingform.html

index 47a740d2146bdd46cff4b2afda02f6fd5d64e099..671a1acbcde3e5cb7c9d301212ba17681b2e69d7 100644 (file)
@@ -3,6 +3,7 @@
 {% block content %}
 <h1>Reserveren</h1>
 <form method="POST">
 {% block content %}
 <h1>Reserveren</h1>
 <form method="POST">
+{% csrf_token %}
 <table>
 {{ form.as_table }}
 </table>
 <table>
 {{ form.as_table }}
 </table>