Re: Using newforms to create multiple related objects?

2007-07-05 Thread Russell Keith-Magee
On 6/29/07, Michael Sylvan <[EMAIL PROTECTED]> wrote: > > Is there a way to do this sort of things cleanly, short of using the > newforms-admin branch of Django? Or do I have to do something like > changing the form's fields attribute by hand? Using formsets from newforms-admin will be the

Re: Using newforms to create multiple related objects?

2007-07-04 Thread yml
Hello, It would be great if one of the Gurus could spend some time to answer this kind of questions. I am trying to do something similar. But so far I haven't been able to achieve this. I am looking for a way to build dynamically a form representing a mashup of several models and its associated

Using newforms to create multiple related objects?

2007-06-28 Thread Michael Sylvan
Hello, I am trying to use newforms and templates, together with the following models, to mimic what the admin application does with num_in_admin : provide a form for Person's fields, and multiple Phone forms. With just one Phone form things are quite straightforward: validate the Person form,