Re: Using newforms with several models

2007-09-13 Thread Russell Keith-Magee
On 9/14/07, Ludvig Ericson <[EMAIL PROTECTED]> wrote: > > Hello, > > I can't seem to understand how to do this with newforms 'properly': > > 1) A base model, call it Apartment. > 2) A model called Person, who lives in an Apartment, i.e., a > ForeignKey(Apartment) > > Now, what I want to do is to g

Using newforms with several models

2007-09-13 Thread Ludvig Ericson
Hello, I can't seem to understand how to do this with newforms 'properly': 1) A base model, call it Apartment. 2) A model called Person, who lives in an Apartment, i.e., a ForeignKey(Apartment) Now, what I want to do is to get a form like the admin has with edit_inline, so something like: