Small improvement to CSRF failure template.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Luke Plant 2009-10-27 22:20:03 +00:00
parent 9dc9770736
commit 5df19aa99e
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@ CSRF_FAILRE_TEMPLATE = """
and only the initial error message will be displayed. </p> and only the initial error message will be displayed. </p>
<p>You can customize this page using the CSRF_FAILURE_VIEW setting.</p> <p>You can customize this page using the CSRF_FAILURE_VIEW setting.</p>
{% else %}
<p><small>More information is available with DEBUG=True.</small></p>
{% endif %} {% endif %}
</body> </body>