diff options
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/comments/templatetags/comments.py | 2 | ||||
| -rw-r--r-- | django/contrib/csrf/tests.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/comments/templatetags/comments.py b/django/contrib/comments/templatetags/comments.py index 9f8180ab08..876c55500f 100644 --- a/django/contrib/comments/templatetags/comments.py +++ b/django/contrib/comments/templatetags/comments.py @@ -248,7 +248,7 @@ def comment_form_target(): Example:: - <form action="{% comment_form_target %}" method="POST"> + <form action="{% comment_form_target %}" method="post"> """ return comments.get_form_target() diff --git a/django/contrib/csrf/tests.py b/django/contrib/csrf/tests.py index f9b958149d..2acda0b0c4 100644 --- a/django/contrib/csrf/tests.py +++ b/django/contrib/csrf/tests.py @@ -9,7 +9,7 @@ from django.template import Template 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 |
