From 5df19aa99e0ae5753be19d9ead887c8ad5ee54c8 Mon Sep 17 00:00:00 2001
From: Luke Plant
Date: Tue, 27 Oct 2009 22:20:03 +0000
Subject: [PATCH] Small improvement to CSRF failure template.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
---
django/views/csrf.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/django/views/csrf.py b/django/views/csrf.py
index dd8a8966b1f..53474df8a46 100644
--- a/django/views/csrf.py
+++ b/django/views/csrf.py
@@ -46,6 +46,8 @@ CSRF_FAILRE_TEMPLATE = """
and only the initial error message will be displayed.
You can customize this page using the CSRF_FAILURE_VIEW setting.
+ {% else %}
+ More information is available with DEBUG=True.
{% endif %}