﻿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
14379	formset.is_bound returns False for ModelFormsets created with queryset as argument	Jannis Vajen	nobody	"When a Modelformset is instantiated via a queryset, its ''is_bound'' attribute returns ''False'' although all of its forms are linked to instances of the queryset. This seems a bit odd to me because formset and forms are bound as soon as the Modelformset is instantiated via data (i.e. ''request.POST'').

{{{
>>> from django.forms.models import modelformset_factory
>>> from models import Testobject

>>> TestFormset = modelformset_factory(Testobject)
>>> formset = TestFormset(queryset=Testobject.objects.all())

>>> formset.is_bound 
False
>>> formset.forms[0].is_bound
False
>>> formset.forms[0].instance
Testobject object

}}}




"		closed	Forms	dev		invalid	modelformset bound		Unreviewed	0	0	0	0	0	0
