Tuesday, April 24, 2012

Re: Multi object form

 Thank you both for your replies.

Having created a modelform and used:

ArticleFormSet = formset_factory(ArticleForm, extra=2)

I have a queryset that produces the objects I want to edit in my formset. How can I bind these objects to the formset and therefore remove the need for the extra=2 parameter?


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/hTs5L7dRACIJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment