On Jun 6, 8:06 pm, robo <[EMAIL PROTECTED]> wrote: > So when data containing fields from both models get POSTed. I would > write (pseudo) code like so ?: > > if request.method == 'POST': > ... > Orders = form_for_model(Order) > f = Orders(prefix='orders') > Order_Details = form_for_model(Order_Detail) > f2 = OrderDetails(prefix='order_details') > ... > f.save() > f2.save() > > Am I missing something? Thanks for your input Matt.
Only the part about passing your posted data to the form classes. Otherwise, you've got it. f = OrderForm(request.POST, prefix='orders') Matt --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---