Skip to content
Browse files

Fixed #587 - iteration through formfields in a FormWrapper is now all…

…owed (thanks, Boffbowsh)

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 14695dc commit 991039dd1e1f89dc1d20c35cdd216abb110a3bee @jacobian jacobian committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 django/core/
1 django/core/
@@ -108,6 +108,7 @@ class FormWrapper:
def __init__(self, manipulator, data, error_dict):
self.manipulator, = manipulator, data
self.error_dict = error_dict
+ self.fields = [self.__getitem__(field.field_name) for field in self.manipulator.fields]
def __repr__(self):
return repr(

0 comments on commit 991039d

Please sign in to comment.
Something went wrong with that request. Please try again.