1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

[1.1.X] Fixed #12503 - form examples don't validate according to w3c

Thanks to skyl for the report.

Backport of r12086 from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Luke Plant
2010-01-04 22:22:16 +00:00
parent 5d75b3d5c4
commit d4f9bff7ef
6 changed files with 17 additions and 17 deletions

View File

@@ -157,7 +157,7 @@ you can use in the template::
A complete form might look like::
{% get_comment_form for event as form %}
<form action="{% comment_form_target %}" method="POST">
<form action="{% comment_form_target %}" method="post">
{{ form }}
<tr>
<td></td>
@@ -178,7 +178,7 @@ You may have noticed that the above example uses another template tag --
form. This will always return the correct URL that comments should be posted to;
you'll always want to use it like above::
<form action="{% comment_form_target %}" method="POST">
<form action="{% comment_form_target %}" method="post">
Redirecting after the comment post
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~