On Tue, Apr 24, 2012 at 2:47 PM, David <davidwi...@adviserbreakthrough.co.uk> wrote: > Hello > > I need to produce a form that will contain a series of rows. Each row will > be a specific object. Columns for each row will have data that will need > editting. > > ie: > > Person1 EditA EditB EditC > Person2 EditA EditB EditC > Person3 EditA EditB EditC > Person4 EditA EditB EditC > > The form should be submitted by one submit button that then updates each > object. > > Is it possible to produce this sort of form through any builtin Django > functionality? From my (limited) understanding through reading all the docs > I can find, this isn't something that can be achieved by a modelform or > formsets. > > Thank you for any assistance
This is exactly what formsets are used for. Each row in your '<form>' corresponds to a django form, and the entire '<form>' is modelled by a django formset. Cheers Tom -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.