Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#587 closed enhancement (fixed)

[patch] Allow iteration through formfields in a FormWrapper

Reported by: Boffbowsh Owned by: adrian
Component: Template system Version:
Severity: normal Keywords:
Cc: paul.bowsher@… Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Index: /usr/local/django_src/django/core/
--- /usr/local/django_src/django/core/     (revision 764)
+++ /usr/local/django_src/django/core/     (working copy)
@@ -107,6 +107,7 @@
     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(

Change History (1)

comment:1 Changed 11 years ago by jacob

  • Resolution set to fixed
  • Status changed from new to closed

(In [1253]) Fixed #587 - iteration through formfields in a FormWrapper is now allowed (thanks, Boffbowsh)

Note: See TracTickets for help on using tickets.
Back to Top