[1.10.x] Refs #26628 -- Documented CSRF failure logging.

Backport of ff9198ee0f from master
This commit is contained in:
Holly Becker 2016-06-02 12:35:39 -07:00 committed by Tim Graham
parent 83ea51a244
commit 697ed75de5
1 changed files with 3 additions and 0 deletions

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