diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2010-01-04 21:55:52 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2010-01-04 21:55:52 +0000 |
| commit | 48edb177edf04854999355dfdfe23fc6ee312d7b (patch) | |
| tree | 1daf23619b548cc72c60ead6c4a7fc6af67fe900 /tests/regressiontests | |
| parent | 77e27e7de73333b8610c5e8967a3681636f844b0 (diff) | |
Fixed #12053 - form examples don't validate according to w3c
Thanks to skyl for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12086 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests')
| -rw-r--r-- | tests/regressiontests/csrf_tests/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/csrf_tests/tests.py b/tests/regressiontests/csrf_tests/tests.py index 5688293647..0a24522d9c 100644 --- a/tests/regressiontests/csrf_tests/tests.py +++ b/tests/regressiontests/csrf_tests/tests.py @@ -13,7 +13,7 @@ from django.template import RequestContext, Template # Response/views used for CsrfResponseMiddleware and CsrfViewMiddleware tests def post_form_response(): resp = HttpResponse(content=""" -<html><body><form method="POST"><input type="text" /></form></body></html> +<html><body><form method="post"><input type="text" /></form></body></html> """, mimetype="text/html") return resp |
