summaryrefslogtreecommitdiff
path: root/tests/forms_tests
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2013-03-11 16:59:59 +0100
committerClaude Paroz <claude@2xlibre.net>2013-03-11 17:46:56 +0100
commit9b74a8391de81312a6d2f97ce40f3ed856285d9f (patch)
tree3f33b23f15cecac5a2d10414f8c11b64d38374ea /tests/forms_tests
parent3f1efc44f65604a3e6bc09aba3dbfb649d3e966e (diff)
Removed forced settings in runtests
Tests that require USE_I18N, LOGIN_URL or certain MIDDLEWARE_CLASSES should be decorated appropriately.
Diffstat (limited to 'tests/forms_tests')
-rw-r--r--tests/forms_tests/templates/forms_tests/article_form.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/forms_tests/templates/forms_tests/article_form.html b/tests/forms_tests/templates/forms_tests/article_form.html
index cde85051f6..de38466335 100644
--- a/tests/forms_tests/templates/forms_tests/article_form.html
+++ b/tests/forms_tests/templates/forms_tests/article_form.html
@@ -1,6 +1,6 @@
<html>
<body>
- <form method="post" action=".">
+ <form method="post" action=".">{% csrf_token %}
{{ form.as_p }}<br>
<input id="submit" type="submit">
</form>