summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/forms_tests/templates/forms_tests/article_form.html2
-rw-r--r--tests/templates/form_view.html2
-rw-r--r--tests/templates/login.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/forms_tests/templates/forms_tests/article_form.html b/tests/forms_tests/templates/forms_tests/article_form.html
index de38466335..8ab7a85bb9 100644
--- a/tests/forms_tests/templates/forms_tests/article_form.html
+++ b/tests/forms_tests/templates/forms_tests/article_form.html
@@ -1,6 +1,6 @@
<html>
<body>
- <form method="post" action=".">{% csrf_token %}
+ <form method="post" action="">{% csrf_token %}
{{ form.as_p }}<br>
<input id="submit" type="submit">
</form>
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 %}
<h1>{{ message }}</h1>
-<form method='post' action='.'>
+<form method="post" action="">
{% if form.errors %}
<p class='warning'>Please correct the errors below:</p>
{% endif %}
diff --git a/tests/templates/login.html b/tests/templates/login.html
index 7f50df2ba1..0d301600a5 100644
--- a/tests/templates/login.html
+++ b/tests/templates/login.html
@@ -5,7 +5,7 @@
<p>Your username and password didn't match. Please try again.</p>
{% endif %}
-<form method="post" action=".">
+<form method="post" action="">
<table>
<tr><td><label for="id_username">Username:</label></td><td>{{ form.username }}</td></tr>
<tr><td><label for="id_password">Password:</label></td><td>{{ form.password }}</td></tr>