mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Fixed #32311 -- Added system check for CSRF_FAILURE_VIEW setting.
This commit is contained in:
parent
16d27fb806
commit
64331419c8
3 changed files with 65 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue