summaryrefslogtreecommitdiff
path: root/docs/ref/forms
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2024-05-30 14:42:05 +0200
committerNatalia <124304+nessita@users.noreply.github.com>2024-05-30 09:43:21 -0300
commitf0d592ed34a723998f83fa53ee4578e1c7dfbfc5 (patch)
tree8bacff2a35960e659ebdceb6a7e53dadfec24df3 /docs/ref/forms
parent501e32a7f5012aa014931a39699391d91ca0a9be (diff)
[5.1.x] Made cosmetic edits to code snippets reformatted with blacken-docs.
Backport of 0f694ce2ebce01356d48302c33c23902b4777537 from main.
Diffstat (limited to 'docs/ref/forms')
-rw-r--r--docs/ref/forms/validation.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/forms/validation.txt b/docs/ref/forms/validation.txt
index a2b3fb4885..7a037eaf75 100644
--- a/docs/ref/forms/validation.txt
+++ b/docs/ref/forms/validation.txt
@@ -370,7 +370,7 @@ example::
# Only do something if both fields are valid so far.
if "help" not in subject:
raise ValidationError(
- "Did not send for 'help' in the subject despite " "CC'ing yourself."
+ "Did not send for 'help' in the subject despite CC'ing yourself."
)
In this code, if the validation error is raised, the form will display an