Code

Ticket #10306: auth.diff

File auth.diff, 500 bytes (added by kylef, 5 years ago)

Diff for docs/topics/auth.txt

Line 
1Index: docs/topics/auth.txt
2===================================================================
3--- docs/topics/auth.txt        (revision 9923)
4+++ docs/topics/auth.txt        (working copy)
5@@ -745,7 +745,7 @@
6         <p>Your username and password didn't match. Please try again.</p>
7         {% endif %}
8 
9-        <form method="post" action=".">
10+        <form method="post" action="{% url django.contrib.auth.views.login %}">
11         <table>
12         <tr>
13             <td>{{ form.username.label_tag }}</td>