Admin and 1-1 fields

2009-02-05 Thread John M
I tried to find this in the admin code, but was unsuccessful. If I have a model with a 1-1 relationship, and in my admin.py I specify that the 1-1 related model is in an INLINE, I notice that the admin interface is smart enough to add a new 1-1 related record when necessary. I'm wondering in the

Re: Admin and 1-1 fields

2009-02-05 Thread Alex Gaynor
On Thu, Feb 5, 2009 at 3:18 PM, John M wrote: > > I tried to find this in the admin code, but was unsuccessful. > > If I have a model with a 1-1 relationship, and in my admin.py I > specify that the 1-1 related model is in an INLINE, I notice that the > admin interface is smart enough to add a ne