1
0
mirror of https://github.com/django/django.git synced 2025-07-19 09:09:13 +00:00

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

Backport of ff9198ee0f1de24a5b2861d28849344e7a5714c4 from master
This commit is contained in:
Holly Becker 2016-06-02 12:35:39 -07:00 committed by Tim Graham
parent 9d52cdfbbc
commit cbc8ef6127

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