Browse files

Added a note that cleaned_data is new in the development release.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 6bc499f commit c3d873fc3ec6b5fee73dda0bc56eb1285a8bc23a @malcolmt malcolmt committed Mar 6, 2008
Showing with 4 additions and 0 deletions.
  1. +4 −0 docs/newforms.txt
@@ -243,6 +243,10 @@ object::
>>> f.cleaned_data
{'cc_myself': True, 'message': u'Hi there', 'sender': u'', 'subject': u'hello'}
+.. note::
+ **New in Django development version** The ``cleaned_data`` attribute was
+ called ``clean_data`` in earlier releases.
Note that any text-based field -- such as ``CharField`` or ``EmailField`` --
always cleans the input into a Unicode string. We'll cover the encoding
implications later in this document.

0 comments on commit c3d873f

Please sign in to comment.