summaryrefslogtreecommitdiff
path: root/docs/ref/forms/validation.txt
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-01-26 15:39:52 -0500
committerTim Graham <timograham@gmail.com>2015-02-01 21:02:40 -0500
commitc79faae761659d51d58782dbd2b8058fb4668cfa (patch)
treea83649a302c53dd2d0ce9e0f50c4017b8b5da979 /docs/ref/forms/validation.txt
parent0e6091249295b0e06aff2b1b4411819f94a1c529 (diff)
Removed versionadded/changed notes for 1.7.
Diffstat (limited to 'docs/ref/forms/validation.txt')
-rw-r--r--docs/ref/forms/validation.txt8
1 files changed, 0 insertions, 8 deletions
diff --git a/docs/ref/forms/validation.txt b/docs/ref/forms/validation.txt
index 5f57e1b8f0..26d69cfbae 100644
--- a/docs/ref/forms/validation.txt
+++ b/docs/ref/forms/validation.txt
@@ -179,8 +179,6 @@ to override your error message you can still opt for the less verbose::
ValidationError(_('Invalid value: %s') % value)
-.. versionadded:: 1.7
-
The :meth:`Form.errors.as_data() <django.forms.Form.errors.as_data()>` and
:meth:`Form.errors.as_json() <django.forms.Form.errors.as_json()>` methods
greatly benefit from fully featured ``ValidationError``\s (with a ``code`` name
@@ -369,12 +367,6 @@ example::
raise forms.ValidationError("Did not send for 'help' in "
"the subject despite CC'ing yourself.")
-.. versionchanged:: 1.7
-
- In previous versions of Django, ``form.clean()`` was required to return
- a dictionary of ``cleaned_data``. This method may still return a dictionary
- of data to be used, but it's no longer required.
-
In this code, if the validation error is raised, the form will display an
error message at the top of the form (normally) describing the problem.