Skip to content

Commit

Permalink
Fixed ReST error in docs/newforms.txt from [5218]
Browse files Browse the repository at this point in the history
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed May 14, 2007
1 parent 2c86d57 commit cc1d02a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/newforms.txt
Expand Up @@ -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.

Expand Down

0 comments on commit cc1d02a

Please sign in to comment.