id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 14655 formsets should be iterable kenth pandres "I have a inlineformset where I need to be able to display some of the ""extra"" forms (that I initialize) before some of the ""initial"" forms retrieved from the db. This would be easy if I could just override formset's __iter__ method and get the forms to come out in an order different from the creation order. This patch adds this hook. This patch also makes it possible to say ""for form in formset"" (instead of ""for form in formset.forms"") in both code & templates. There are no backward compatibility issues. The pattern ""for form in formset"" is also closer to the ""for field in form"" idiom. " closed Forms dev fixed Accepted 1 0 0 0 0 0