>> Both forms have a 'name' attribute. And, both forms are in a template >> together. (I mean that both form instances are created for the >> specific instance of the model in question, and are displayed >> together >> (very interleaved) in a template). The response that I get back, via >> request.POST instantiates both forms: >> >> form1 = Form1(request.POST, instance=blah1) form2 = >> Form2(request.POST, instance=blah2) >> >> [Note I'm translating this from a domain specific problem to generic >> (form1, form2, etc.) on the fly. There's room for error] >> >> Now, if request.POST has only one 'name' then form1 and form2 are >> getting the same name, obviously causing a problem. > > You're looking for form prefix: > > http://docs.djangoproject.com/en/1.0/ref/forms/api/#django.forms.Form.prefix > > sdc
That is exactly what I needed. I knew this was common enough there had to be something! Thanks, Glen -- "You must be the change you wish to see in the world." -M. Gandhi --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---