summaryrefslogtreecommitdiff
path: root/docs/ref/settings.txt
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2024-01-26 12:45:07 +0100
committerGitHub <noreply@github.com>2024-01-26 12:45:07 +0100
commit305757aec19c9d5111e4d76095ae0acd66163e4b (patch)
tree04aa017e66c06b3b19cb466ed4e1d73cd871523d /docs/ref/settings.txt
parent3f6d939c62efd967f548c27a265748cc2cc47ca5 (diff)
Applied Black's 2024 stable style.
https://github.com/psf/black/releases/tag/24.1.0
Diffstat (limited to 'docs/ref/settings.txt')
-rw-r--r--docs/ref/settings.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index eee1c66d56..9db029cc60 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -422,8 +422,7 @@ A dotted path to the view function to be used when an incoming request is
rejected by the :doc:`CSRF protection </ref/csrf>`. The function should have
this signature::
- def csrf_failure(request, reason=""):
- ...
+ def csrf_failure(request, reason=""): ...
where ``reason`` is a short message (intended for developers or logging, not
for end users) indicating the reason the request was rejected. It should return