mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Edited some recent docs changes
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9042 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
3b0bf9805d
commit
772639c692
2 changed files with 8 additions and 8 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue