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
This commit is contained in:
parent
2c86d57284
commit
cc1d02a5aa
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue