On Fri, 10 Aug 2007 18:46:18 -0700, Doug B wrote: >> ----------------------------------------------------------------------- >> >> If I have 8 people, how should bind POST data to a form object in the >> view? > > You can use the 'prefix' option when instantiating the forms. Prefix > the form with the corresponding form 'number' or other unique > identifier. On post pass it the whole post dict. It will pull the data > out according to the prefix. >
That's what I thought, too. One problem I have right now is to dynamically assign form element id attribute based on count of the for loop in the view. > --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---