diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2008-09-16 05:31:00 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2008-09-16 05:31:00 +0000 |
| commit | 772639c692eb513af514116b3a1ef09574315b6b (patch) | |
| tree | 658e98dc67143755161b9295d6312ffe15d471b9 /docs/ref/forms | |
| parent | 3b0bf9805d99dc03823a687aa8037bdb54c5da54 (diff) | |
Edited some recent docs changes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/forms')
| -rw-r--r-- | docs/ref/forms/api.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt index 285d43b01c..96c0440fb3 100644 --- a/docs/ref/forms/api.txt +++ b/docs/ref/forms/api.txt @@ -96,7 +96,7 @@ e-mail address:: >>> f = ContactForm(data) >>> f.is_valid() False - + .. attribute:: Form.errors Access the :attr:`~Form.errors` attribute to get a dictionary of error @@ -530,7 +530,7 @@ string or Unicode object, respectively:: >>> unicode(f['subject']) u'<input id="id_subject" type="text" name="subject" maxlength="100" />' -Form objects define a custom ``__iter__`` method which allows you to loop +Form objects define a custom ``__iter__()`` method, which allows you to loop through their fields:: >>> f = ContactForm() |
