> Use form_for_model or form_for_instance using the fields argument. Make > one form object for each model with the field subset you'd like to use. > There's nothing stopping you from using several form objects in the same > html form. Just remember to validate them all.
I'm using several forms (newforms) to build one html form. One thing to watch out for is common field names in your django form classes. So if you have two django forms and they both have a field 'date' for example, then handling in your view method in request.POST there will be only one key 'date' that will go in to both django forms via f1=Form1(request.POST) and f2=Form2(request.POST). I'm still thinking on how to solve this in a elegant way instead of changing the field names in django forms to say date1 and date2. Przemek -- AIKIDO TANREN DOJO - Poland - Warsaw - Mokotow - Ursynow - Natolin info: http://tanren.pl/ phone:+48501516666 email:[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 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 -~----------~----~----~----~------~----~------~--~---