From cc1d02a5aa49ebe25c284d0c5263e03cc74e6334 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 14 May 2007 03:02:55 +0000 Subject: [PATCH] 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 --- docs/newforms.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.