﻿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
19991	Introduce `saved_forms` property to `BaseModelFormSet`	Ram Rachum	nobody	"Hi,

Here's something that I use in my code and I'm thinking it might be useful to include in Django by default:

{{{
@property
def saved_forms(self):
    if not self.is_bound:
        return ()
    return tuple(form for form in self.forms if (form.instance.pk is not None))
}}}

(This is a property of `BaseModelFormSet`.)

This allows you to access the forms in the formset that were saved.

What do you think? Would this be useful to add to Django?

(I can easily make this code into a patch if you want.)"	New feature	closed	Forms	dev	Normal	wontfix			Unreviewed	0	0	0	0	0	0
