diff gpp/templates/downloads/add.html @ 194:6a5549c2efb5

Implement #62, add support for CSRF protection.
author Brian Neal <bgneal@gmail.com>
date Sat, 03 Apr 2010 20:00:56 +0000
parents c515b7401078
children 27bee3ac85e6
line wrap: on
line diff
--- a/gpp/templates/downloads/add.html	Sat Apr 03 02:15:04 2010 +0000
+++ b/gpp/templates/downloads/add.html	Sat Apr 03 20:00:56 2010 +0000
@@ -30,7 +30,7 @@
     <li>The file may be removed at any time at the discretion of the staff of SurfGuitar101.</li>
 </ol>
 
-<form action="." method="post" enctype="multipart/form-data" id="downloads-add">
+<form action="." method="post" enctype="multipart/form-data" id="downloads-add">{% csrf_token %}
 <fieldset>
 <legend>Upload Form</legend>
 <table>