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:
parent
9dc9770736
commit
5df19aa99e
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue