mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -33,11 +33,11 @@ CSRF_FAILRE_TEMPLATE = """ | |||||||
|  |  | ||||||
|   <ul> |   <ul> | ||||||
|     <li>The view function uses <a |     <li>The view function uses <a | ||||||
|     href='http://docs.djangoproject.com/en/dev/ref/templates/api/#subclassing-context-requestcontext'><tt>RequestContext</tt></a> |     href='http://docs.djangoproject.com/en/dev/ref/templates/api/#subclassing-context-requestcontext'><code>RequestContext</code></a> | ||||||
|     for the template, instead of <tt>Context</tt>.</li> |     for the template, instead of <code>Context</code>.</li> | ||||||
|  |  | ||||||
|     <li>In the template, there is a <tt>{% templatetag openblock %} csrf_token |     <li>In the template, there is a <code>{% templatetag openblock %} csrf_token | ||||||
|     {% templatetag closeblock %}</tt> template tag inside each POST form that |     {% templatetag closeblock %}</code> template tag inside each POST form that | ||||||
|     targets an internal URL.</li> |     targets an internal URL.</li> | ||||||
|   </ul> |   </ul> | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user