From 352efd189328cca8ff5ab2af2b65522ec44fa889 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 8 Dec 2008 04:07:42 +0000 Subject: 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 --- django/forms/forms.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'django/forms/forms.py') 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] -- cgit v1.3