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 %}