If your goal is to edit multiple items read this: http://collingrady.wordpress.com/2008/02/18/editing-multiple-objects-in-django-with-newforms/
On Apr 2, 5:20 am, Przemek Gawronski <[EMAIL PROTECTED]> wrote: > For multiple instances of the same form you should use the 'prefix' > parameter in the constructor: > > > .. > > form = SearchForm(request.POST) > > f1 = SearchForm( prefix='f1', request=request.POST) > f2 = SearchForm( prefix='f2', request=request.POST) > .. > > or: > > FORMS_COUNT=3 > > forms=[ SearchForm( prefix="form%d" % ( i )) for i in range( FORMS_COUNT )] > > Hope that helps some. > > Przemek > -- > AIKIDO TANREN DOJO - Poland - Warsaw - Mokotow - Ursynow - Natolin > info: http://tanren.pl/ phone:+48501516666 mailto:[EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

