Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…owed (thanks, Boffbowsh)

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 991039dd1e1f89dc1d20c35cdd216abb110a3bee 1 parent 14695dc
@jacobian jacobian authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/core/formfields.py
View
1  django/core/formfields.py
@@ -108,6 +108,7 @@ class FormWrapper:
def __init__(self, manipulator, data, error_dict):
self.manipulator, self.data = 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(self.data)
Please sign in to comment.
Something went wrong with that request. Please try again.