From a034ced2efccafdf394b807487ee97665fe003c3 Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Thu, 21 Jan 2016 15:54:13 +0000 Subject: [1.8.x] Changed `action="."` to `action=""` in tests and docs. `action="."` strips query parameters from the URL which is not usually what you want. Copy-paste coding of these examples could lead to difficult to track down bugs or even data loss if the query parameter was meant to alter the scope of a form's POST request. Backport of 77974a684a2e874bccd8bd9e0939ddcb367a8ed2 from master --- tests/templates/form_view.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/templates/form_view.html') diff --git a/tests/templates/form_view.html b/tests/templates/form_view.html index a23fd0b657..1ef410fb71 100644 --- a/tests/templates/form_view.html +++ b/tests/templates/form_view.html @@ -2,7 +2,7 @@ {% block title %}Submit data{% endblock %} {% block content %}

{{ message }}

-
+ {% if form.errors %}

Please correct the errors below:

{% endif %} -- cgit v1.3