Skip to content

Commit

Permalink
Fixed #587 - iteration through formfields in a FormWrapper is now all…
Browse files Browse the repository at this point in the history
…owed (thanks, Boffbowsh)

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
jacobian committed Nov 15, 2005
1 parent 14695dc commit 991039d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions django/core/formfields.py
Expand Up @@ -108,6 +108,7 @@ class FormWrapper:
def __init__(self, manipulator, data, error_dict): def __init__(self, manipulator, data, error_dict):
self.manipulator, self.data = manipulator, data self.manipulator, self.data = manipulator, data
self.error_dict = error_dict self.error_dict = error_dict
self.fields = [self.__getitem__(field.field_name) for field in self.manipulator.fields]


def __repr__(self): def __repr__(self):
return repr(self.data) return repr(self.data)
Expand Down

0 comments on commit 991039d

Please sign in to comment.