Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Small improvement to CSRF failure template.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 5df19aa99e0ae5753be19d9ead887c8ad5ee54c8 1 parent 9dc9770
Luke Plant spookylukey authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  django/views/csrf.py
2  django/views/csrf.py
View
@@ -46,6 +46,8 @@
and only the initial error message will be displayed. </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 %}
</body>
Please sign in to comment.
Something went wrong with that request. Please try again.