diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2007-05-14 03:02:55 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2007-05-14 03:02:55 +0000 |
| commit | cc1d02a5aa49ebe25c284d0c5263e03cc74e6334 (patch) | |
| tree | 6061f812dca38d7298a1981cfe3589aac7508875 /docs | |
| parent | 2c86d5728476ba791139e5cef6d0b39c9d83b9f5 (diff) | |
Fixed ReST error in docs/newforms.txt from [5218]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/newforms.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/newforms.txt b/docs/newforms.txt index ff3c9931b6..58571bd02e 100644 --- a/docs/newforms.txt +++ b/docs/newforms.txt @@ -297,7 +297,7 @@ required. In this example, the data dictionary doesn't include a value for the {'nick_name': u'', 'first_name': u'John', 'last_name': u'Lennon'} In this above example, the ``clean_data`` value for ``nick_name`` is set to an -empty string, because ``nick_name`` is ``CharField``, and ``CharField``s treat +empty string, because ``nick_name`` is ``CharField``, and ``CharField``\s treat empty values as an empty string. Each field type knows what its "blank" value is -- e.g., for ``DateField``, it's ``None`` instead of the empty string. |
