summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/forms/validation.txt2
-rw-r--r--docs/ref/models/instances.txt2
2 files changed, 2 insertions, 2 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
diff --git a/docs/ref/models/instances.txt b/docs/ref/models/instances.txt
index 65ed4924f7..e1011ded66 100644
--- a/docs/ref/models/instances.txt
+++ b/docs/ref/models/instances.txt
@@ -380,7 +380,7 @@ Then, ``full_clean()`` will check unique constraints on your model.
raise ValidationError(
{
"status": _(
- "Set status to draft if there is not a " "publication date."
+ "Set status to draft if there is not a publication date."
),
}
)