From c5c7791e91649a82346e720c86a7a1fa77eb4cd5 Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Thu, 29 Oct 2009 14:17:39 +0000 Subject: [PATCH] Improved HTML in CSRF debug template - instead of git-svn-id: http://code.djangoproject.com/svn/django/trunk@11680 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/views/csrf.py | 8 ++++---- 1 file 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 = """
  • The view function uses RequestContext - for the template, instead of Context.
  • + href='http://docs.djangoproject.com/en/dev/ref/templates/api/#subclassing-context-requestcontext'>RequestContext + for the template, instead of Context. -
  • In the template, there is a {% templatetag openblock %} csrf_token - {% templatetag closeblock %} template tag inside each POST form that +
  • In the template, there is a {% templatetag openblock %} csrf_token + {% templatetag closeblock %} template tag inside each POST form that targets an internal URL.