Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Jacob Kaplan-Moss authored

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  django/core/formfields.py
1  django/core/formfields.py
@@ -108,6 +108,7 @@ class FormWrapper:
108 108
     def __init__(self, manipulator, data, error_dict):
109 109
         self.manipulator, self.data = manipulator, data
110 110
         self.error_dict = error_dict
  111
+        self.fields = [self.__getitem__(field.field_name) for field in self.manipulator.fields]
111 112
 
112 113
     def __repr__(self):
113 114
         return repr(self.data)

0 notes on commit 991039d

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