mirror of https://github.com/django/django.git
Refs #26628 -- Documented CSRF failure logging.
This commit is contained in:
parent
d65e2899b2
commit
ff9198ee0f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue