1
0
mirror of https://github.com/django/django.git synced 2025-06-04 02:59:13 +00:00

Refs #26628 -- Documented CSRF failure logging.

This commit is contained in:
Holly Becker 2016-06-02 12:35:39 -07:00 committed by Tim Graham
parent d65e2899b2
commit ff9198ee0f

View File

@ -211,6 +211,9 @@ The error page, however, is not very friendly, so you may want to provide your
own view for handling this condition. To do this, simply set the own view for handling this condition. To do this, simply set the
:setting:`CSRF_FAILURE_VIEW` setting. :setting:`CSRF_FAILURE_VIEW` setting.
CSRF failures are logged as warnings to the :ref:`django-request-logger`
logger.
.. _how-csrf-works: .. _how-csrf-works:
How it works How it works