diff options
| author | Luke Plant <L.Plant.98@cantab.net> | 2010-01-04 22:22:16 +0000 |
|---|---|---|
| committer | Luke Plant <L.Plant.98@cantab.net> | 2010-01-04 22:22:16 +0000 |
| commit | d4f9bff7ef190fdaedaa5319718f1db265d86d56 (patch) | |
| tree | fda5d04b92bc9bacb321f271bebf3b3b3b0a2897 /docs/ref | |
| parent | 5d75b3d5c4b9dd8fa2837f47843dd78aadb94666 (diff) | |
[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
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/comments/index.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/contrib/comments/index.txt b/docs/ref/contrib/comments/index.txt index 880be34101..13442012ac 100644 --- a/docs/ref/contrib/comments/index.txt +++ b/docs/ref/contrib/comments/index.txt @@ -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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
