Hi, in the oldforms times the generic views (create_object and update_object) used to handle edit_inline out of the box: ie. for the typical Poll/Question models I could just pass Poll to create_object and have it create poll objects AND related Question instances.
With the inline settings pulled out of model definitions, that's no longer true. Is there a simple replacement for that? The easiest way I can think of is to create an inline formset as described here: http://docs.djangoproject.com/en/dev/topics/forms/modelforms/#using-an-inline-formset-in-a-view ...then add a form for editing the base instance and pass the resulting formset as form_class to create_object. Or did I miss something? -mk -- Marcin Kaszynski http://marcinkaszynski.com/ http://warsztatyit.pl/django/ -- Warsztaty Django --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---