Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed #21009 -- Added a versionchanged note regarding changes to clea…

…n().

refs [fb1dd6b] and [1c4a9bd]
  • Loading branch information...
commit ebfe42d018b1268969238a5b90bfb5fe46d0d44f 1 parent 4170b9f
Tim Graham authored September 05, 2013

Showing 1 changed file with 6 additions and 0 deletions. Show diff stats Hide diff stats

  1. 6  docs/ref/forms/validation.txt
6  docs/ref/forms/validation.txt
@@ -403,6 +403,12 @@ example::
403 403
                     raise forms.ValidationError("Did not send for 'help' in "
404 404
                             "the subject despite CC'ing yourself.")
405 405
 
  406
+.. versionchanged:: 1.7
  407
+
  408
+    In previous versions of Django, ``form.clean()`` was required to return
  409
+    a dictionary of ``cleaned_data``. This method may still return a dictionary
  410
+    of data to be used, but it's no longer required.
  411
+
406 412
 In this code, if the validation error is raised, the form will display an
407 413
 error message at the top of the form (normally) describing the problem.
408 414
 

0 notes on commit ebfe42d

Please sign in to comment.
Something went wrong with that request. Please try again.