From: Matthijs Kooijman <matthijs@stdin.nl>
Date: Tue, 19 Oct 2010 08:54:27 +0000 (+0200)
Subject: tickets: Use CSRF protection middleware.
X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=3edc238e516029eec37ca84c53a59f7a958aa482;p=matthijs%2Fprojects%2Fdorestad-bookings.git

tickets: Use CSRF protection middleware.
---

diff --git a/tickets/templates/tickets/bookingform.html b/tickets/templates/tickets/bookingform.html
index 47a740d..671a1ac 100644
--- a/tickets/templates/tickets/bookingform.html
+++ b/tickets/templates/tickets/bookingform.html
@@ -3,6 +3,7 @@
 {% block content %}
 <h1>Reserveren</h1>
 <form method="POST">
+{% csrf_token %}
 <table>
 {{ form.as_table }}
 </table>