From 64331419c848a8b6835b25f2c600d7150f722c96 Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Tue, 12 Jan 2021 09:44:36 +0100 Subject: Fixed #32311 -- Added system check for CSRF_FAILURE_VIEW setting. --- docs/ref/checks.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs/ref') diff --git a/docs/ref/checks.txt b/docs/ref/checks.txt index 6b66b18112..a31bea19ba 100644 --- a/docs/ref/checks.txt +++ b/docs/ref/checks.txt @@ -495,6 +495,10 @@ The following checks are run if you use the :option:`check --deploy` option: should consider enabling this header to protect user privacy. * **security.E023**: You have set the :setting:`SECURE_REFERRER_POLICY` setting to an invalid value. +* **security.E024**: The CSRF failure view ``'path.to.view'`` does not take the + correct number of arguments. +* **security.E025**: The CSRF failure view ``'path.to.view'`` could not be + imported. The following checks verify that your security-related settings are correctly configured: -- cgit v1.3