summaryrefslogtreecommitdiff
path: root/templates/mirrors
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/mirrors
parent7646f8ea7ce19b404a0e57c85e5dd589b3a53371 (diff)
Updates for CSRF protection in Django 1.2.X
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/mirrors')
-rw-r--r--templates/mirrors/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/mirrors/index.html b/templates/mirrors/index.html
index b347a086..55c172d7 100644
--- a/templates/mirrors/index.html
+++ b/templates/mirrors/index.html
@@ -13,7 +13,7 @@
Simply replace the contents of <code>/etc/pacman.d/mirrorlist</code> with
the generated code.</p>
- <form id="list-generator" method="post" action=".">
+ <form id="list-generator" method="post" action=".">{% csrf_token %}
{{ mirrorlist_form.as_p }}
<p><label></label> <input type="submit" value="Generate List" /></p>
</form>