diff options
author | Dan McGee <dan@archlinux.org> | 2010-06-05 19:58:31 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-06-05 19:58:31 +0200 |
commit | bad2825fab9f45f468414ed551bad9d987923600 (patch) | |
tree | 8e91d017ddbe2f28416395cb43f70644d509bd9f /templates/general_form.html | |
parent | 7646f8ea7ce19b404a0e57c85e5dd589b3a53371 (diff) | |
download | archweb-bad2825fab9f45f468414ed551bad9d987923600.tar.gz archweb-bad2825fab9f45f468414ed551bad9d987923600.tar.xz |
Updates for CSRF protection in Django 1.2.X
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/general_form.html')
-rw-r--r-- | templates/general_form.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/general_form.html b/templates/general_form.html index d499919..93e73ac 100644 --- a/templates/general_form.html +++ b/templates/general_form.html @@ -8,7 +8,7 @@ {% if description %}{{description}}{% endif %} - <form class="general-form" method="post" action="."> + <form class="general-form" method="post" action=".">{% csrf_token %} <fieldset> {% for field in form %} <p><label>{{field.label}}{% if field.help_text %}:</label><br /> |