summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2009-10-29 14:17:39 +0000
committerLuke Plant <L.Plant.98@cantab.net>2009-10-29 14:17:39 +0000
commitc5c7791e91649a82346e720c86a7a1fa77eb4cd5 (patch)
treeb2a1fef6319018e211da3ab13de4ed3bc1619cab
parent7440fca145adbc3fb3ee95037a7c5d4e57683cd7 (diff)
Improved HTML in CSRF debug template - <code> instead of <tt>
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/views/csrf.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/django/views/csrf.py b/django/views/csrf.py
index 53474df8a4..5bdcbd10a6 100644
--- a/django/views/csrf.py
+++ b/django/views/csrf.py
@@ -33,11 +33,11 @@ CSRF_FAILRE_TEMPLATE = """
<ul>
<li>The view function uses <a
- href='http://docs.djangoproject.com/en/dev/ref/templates/api/#subclassing-context-requestcontext'><tt>RequestContext</tt></a>
- for the template, instead of <tt>Context</tt>.</li>
+ href='http://docs.djangoproject.com/en/dev/ref/templates/api/#subclassing-context-requestcontext'><code>RequestContext</code></a>
+ for the template, instead of <code>Context</code>.</li>
- <li>In the template, there is a <tt>{% templatetag openblock %} csrf_token
- {% templatetag closeblock %}</tt> template tag inside each POST form that
+ <li>In the template, there is a <code>{% templatetag openblock %} csrf_token
+ {% templatetag closeblock %}</code> template tag inside each POST form that
targets an internal URL.</li>
</ul>