Re: Multiple models on one form

2007-01-06 Thread [EMAIL PROTECTED]
Hmmm, somehow the django admin interface gets this done (when you add foreign key related fields). It somehow puts an index into each field name. I started digging through the django code, but ... well, I'm just not great in digging through code... On Jan 5, 6:35 am, "Russell Keith-Magee" <[EMAI

Re: Multiple models on one form

2007-01-05 Thread Russell Keith-Magee
On 1/5/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I am trying to get your solution 1 to work for the case of multiple instances of the same model. The forms looks good, but the problem is that all fields have the same name (because the forms are generated from the same model). Is there an

Re: Multiple models on one form

2007-01-04 Thread [EMAIL PROTECTED]
I am trying to get your solution 1 to work for the case of multiple instances of the same model. The forms looks good, but the problem is that all fields have the same name (because the forms are generated from the same model). Is there any way around that? Or do I have to write a custom manipula

Re: Multiple models on one form

2006-12-08 Thread Russell Keith-Magee
On 12/9/06, Brian Morton <[EMAIL PROTECTED]> wrote: > > I am trying to write a custom form that will handle updates for several > models. What is the best way to do this? Do I have to write a custom > manipulator to handle the data? Or can I create a hybrid view of > several different default m