summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2010-09-07 20:33:58 +0000
committerLuke Plant <L.Plant.98@cantab.net>2010-09-07 20:33:58 +0000
commita537235d7fff5f6c66e8d0276b8a0181e1adf9d9 (patch)
treed1c924f182e929d6a67781b1aa22e7ead281141a /docs
parent01e8d75c203231468d00ec726511b577eaa39b09 (diff)
[1.2.X] Fixed #13853 - line with csrf_token too wide
Thanks to alper for report, alper/richardb for patch Backport of [13688] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/auth.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt
index d8712d52c8..4a6e30fc00 100644
--- a/docs/topics/auth.txt
+++ b/docs/topics/auth.txt
@@ -794,7 +794,8 @@ the following line to your URLconf::
<p>Your username and password didn't match. Please try again.</p>
{% endif %}
- <form method="post" action="{% url django.contrib.auth.views.login %}">{% csrf_token %}
+ <form method="post" action="{% url django.contrib.auth.views.login %}">
+ {% csrf_token %}
<table>
<tr>
<td>{{ form.username.label_tag }}</td>