summaryrefslogtreecommitdiff
path: root/templates/news/delete.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-06-05 12:58:31 -0500
committerDan McGee <dan@archlinux.org>2010-06-05 12:58:31 -0500
commitbad2825fab9f45f468414ed551bad9d987923600 (patch)
tree8e91d017ddbe2f28416395cb43f70644d509bd9f /templates/news/delete.html
parent7646f8ea7ce19b404a0e57c85e5dd589b3a53371 (diff)
Updates for CSRF protection in Django 1.2.X
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/news/delete.html')
-rw-r--r--templates/news/delete.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/news/delete.html b/templates/news/delete.html
index 6a2fa1e8..3e3ba95e 100644
--- a/templates/news/delete.html
+++ b/templates/news/delete.html
@@ -14,7 +14,7 @@
<p>Are you sure?</p>
- <form method="post" action=".">
+ <form method="post" action=".">{% csrf_token %}
<input title="Delete this article" id="delete" name="delete"
type="submit" value="Delete" /></p>
</form>