summaryrefslogtreecommitdiff
path: root/docs/ref/forms/validation.txt
diff options
context:
space:
mode:
authorNick Smith <nick.smith@torchbox.com>2015-06-11 14:34:03 +0100
committerTim Graham <timograham@gmail.com>2015-06-11 12:22:24 -0400
commitffbb6d4742823ace864158647350e0aa0419937e (patch)
tree67313ce57ff843b162b281fd5d06c5c4b5e7d02f /docs/ref/forms/validation.txt
parent76c526f80e43b0bf5199dfe33b1ce31e813fa2fb (diff)
[1.8.x] Used PEP 8 style indentation in forms docs.
Backport of b9bf61ce61ea933c3fefa05fa1ded8dfb1b445e5 from master
Diffstat (limited to 'docs/ref/forms/validation.txt')
-rw-r--r--docs/ref/forms/validation.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/ref/forms/validation.txt b/docs/ref/forms/validation.txt
index 64f5cd391e..cf633bfb85 100644
--- a/docs/ref/forms/validation.txt
+++ b/docs/ref/forms/validation.txt
@@ -365,8 +365,10 @@ example::
if cc_myself and subject:
# Only do something if both fields are valid so far.
if "help" not in subject:
- raise forms.ValidationError("Did not send for 'help' in "
- "the subject despite CC'ing yourself.")
+ raise forms.ValidationError(
+ "Did not send for 'help' in the subject despite "
+ "CC'ing yourself."
+ )
.. versionchanged:: 1.7