Re: Get form from modelformset by the model associated in template

2014-11-04 Thread Luigi Cirillo
Yes, thank you Collin On Monday, November 3, 2014 2:14:53 AM UTC+1, Collin Anderson wrote: > > Hi Luigi, > > Do you want something like this? > > {% for form in modelformset %} > The object: {{ form.instance }} > The form: {{ form }} > {% endform %}} > > Collin > > -- You received this

Re: Get form from modelformset by the model associated in template

2014-11-02 Thread Collin Anderson
Hi Luigi, Do you want something like this? {% for form in modelformset %} The object: {{ form.instance }} The form: {{ form }} {% endform %}} Collin -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Get form from modelformset by the model associated in template

2014-10-30 Thread Luigi Cirillo
Hi all, I think it is a simple question but I don't know how I can get the specific form associated to a model from a modelformset inside a template. In other words I am extending a ListView and I pass a modelformset through the context. So in the template: {% for object in object_list %} {{