Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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
  • Loading branch information...
commit c5c7791e91649a82346e720c86a7a1fa77eb4cd5 1 parent 7440fca
@spookylukey spookylukey authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 django/views/csrf.py
View
8 django/views/csrf.py
@@ -33,11 +33,11 @@
<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>
Please sign in to comment.
Something went wrong with that request. Please try again.