django/django — pull request #1259 by Wilfred (2013-06-11 15:07:26+00:00)
Title: Simplifying a formset code example in the documentation

Rather than `for i in range(0, self.total_form_count())` and manually accessing `self.forms[i]`, it's clearer to just iterate over `self.forms`.

Since `FormSet` implements `__iter__`, you could even iterate over `self`, but this approach is more explicit.