diff options
| -rw-r--r-- | django/views/csrf.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/django/views/csrf.py b/django/views/csrf.py index dd8a8966b1..53474df8a4 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. </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> |
