mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
[1.10.x] Refs #26628 -- Documented CSRF failure logging.
Backport of ff9198ee0f
from master
This commit is contained in:
parent
83ea51a244
commit
697ed75de5
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
:setting:`CSRF_FAILURE_VIEW` setting.
|
||||
|
||||
CSRF failures are logged as warnings to the :ref:`django-request-logger`
|
||||
logger.
|
||||
|
||||
.. _how-csrf-works:
|
||||
|
||||
How it works
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue