From 697ed75de5197a2175247464e1eee14fcf38562f Mon Sep 17 00:00:00 2001 From: Holly Becker Date: Thu, 2 Jun 2016 12:35:39 -0700 Subject: [PATCH] [1.10.x] Refs #26628 -- Documented CSRF failure logging. Backport of ff9198ee0f1de24a5b2861d28849344e7a5714c4 from master --- docs/ref/csrf.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/ref/csrf.txt b/docs/ref/csrf.txt index fcb3bb4e33..7e4aef5479 100644 --- a/docs/ref/csrf.txt +++ b/docs/ref/csrf.txt @@ -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