diff options
| author | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-03-06 17:10:04 +0000 |
|---|---|---|
| committer | Malcolm Tredinnick <malcolm.tredinnick@gmail.com> | 2008-03-06 17:10:04 +0000 |
| commit | c3d873fc3ec6b5fee73dda0bc56eb1285a8bc23a (patch) | |
| tree | 0bea4e5a95e9cec6e34560b7c8b92c6e69ca9ff6 /docs | |
| parent | 6bc499f03c42e37a462f645fffab8712d471825f (diff) | |
Added a note that cleaned_data is new in the development release.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/newforms.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/newforms.txt b/docs/newforms.txt index 19f42cb2ee..9d95d88b9f 100644 --- a/docs/newforms.txt +++ b/docs/newforms.txt @@ -243,6 +243,10 @@ object:: >>> f.cleaned_data {'cc_myself': True, 'message': u'Hi there', 'sender': u'foo@example.com', '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. |
