diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2008-12-08 04:07:42 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2008-12-08 04:07:42 +0000 |
| commit | 352efd189328cca8ff5ab2af2b65522ec44fa889 (patch) | |
| tree | 706bec952d8b23890b8b3d61153bb6683e68d0fc /django/forms | |
| parent | 33c0f0de676ae8fd2c406beebb2f113aeb95fee7 (diff) | |
Edited docs/topics/forms/index.txt changes from [9569] and fixed a typo in the visible_fields() docstring
git-svn-id: http://code.djangoproject.com/svn/django/trunk@9592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/forms')
| -rw-r--r-- | django/forms/forms.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/django/forms/forms.py b/django/forms/forms.py index 29c4f31115..f5bea10978 100644 --- a/django/forms/forms.py +++ b/django/forms/forms.py @@ -305,15 +305,15 @@ class BaseForm(StrAndUnicode): def hidden_fields(self): """ - Returns a list of all the BoundField objects that correspond to hidden - fields in the HTML output. Useful for manual form layout in templates. + Returns a list of all the BoundField objects that are hidden fields. + Useful for manual form layout in templates. """ return [field for field in self if field.is_hidden] def visible_fields(self): """ - Returns a lits of BoundField objects that do not correspond to hidden - fields. The opposite of the hidden_fields() method. + Returns a list of BoundField objects that aren't hidden fields. + The opposite of the hidden_fields() method. """ return [field for field in self if not field.is_hidden] |
