summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-07-11 02:15:46 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2011-07-11 02:15:46 -0400
commit3c7a7ca6b2ecd892398c6ab1317daa1099d34b04 (patch)
tree94525a3c8a5171220eed62a25e692c38f3404479
parent03cceedee728ca7a377b434286607e46337e79bb (diff)
downloadaskbot-3c7a7ca6b2ecd892398c6ab1317daa1099d34b04.tar.gz
askbot-3c7a7ca6b2ecd892398c6ab1317daa1099d34b04.tar.bz2
askbot-3c7a7ca6b2ecd892398c6ab1317daa1099d34b04.zip
added csrf token to the group settings form
-rw-r--r--askbot/deps/livesettings/templates/livesettings/group_settings.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/deps/livesettings/templates/livesettings/group_settings.html b/askbot/deps/livesettings/templates/livesettings/group_settings.html
index 7e00a600..0c326cc6 100644
--- a/askbot/deps/livesettings/templates/livesettings/group_settings.html
+++ b/askbot/deps/livesettings/templates/livesettings/group_settings.html
@@ -23,7 +23,7 @@
</p>
{% endif %}
{% if form.fields %}
-<form method="post" enctype="multipart/form-data">
+<form method="post" enctype="multipart/form-data">{% csrf_token %}
<div class="module">
<table summary="{% filter capfirst %}{% blocktrans with group.name as name %}Settings included in {{ name }}.{% endblocktrans %}{% endfilter %}" width="100%">
{% for field in form %}