Re: pseudo one-to-one

2012-01-16 Thread Mike Dewhirst
The main benefit of one-to-one relationships is that they can be mapped together (in the Admin) as an extension of the parent. In a view I suppose I can use a manager to filter the children

Re: pseudo one-to-one

2012-01-16 Thread Ovnicraft
stances have to exist and be > kept for the historical record. > > The main benefit of one-to-one relationships is that they can be mapped > together (in the Admin) as an extension of the parent. > > In a view I suppose I can use a manager to filter the children into a > pseudo-on

Re: pseudo one-to-one

2012-01-16 Thread Bill Beal
Mike >>>> Dewhirstmailto:mi...@dewhirst.com.au>**> >>>> wrote: >>>> >>>> I need a one-to-many to behave like a one-to-one. >>>> >>>> The parent instance of my model can only ever have one current >>>> ch

Re: pseudo one-to-one

2012-01-16 Thread Mike Dewhirst
f the parent. In a view I suppose I can use a manager to filter the children into a pseudo-one-to-one thingy but how do I do this in the Admin? Maybe sort them into date order and only show one? Is there a better way? Thanks for any help Mike -- You received this message because you are subsc

Re: pseudo one-to-one

2012-01-16 Thread Mike Dewhirst
parent. In a view I suppose I can use a manager to filter the children into a pseudo-one-to-one thingy but how do I do this in the Admin? Maybe sort them into date order and only show one? Is there a better way? Thanks for any help Mike -- You receiv

Re: pseudo one-to-one

2012-01-16 Thread Jeff Heard
relationships is that they can be >>mapped together (in the Admin) as an extension of the parent. >> >>In a view I suppose I can use a manager to filter the children into >>a pseudo-one-to-one thingy but how do I do this in the Admin? >> >>

Re: pseudo one-to-one

2012-01-16 Thread Bill Freeman
r the historical record. >> >> The main benefit of one-to-one relationships is that they can be >> mapped together (in the Admin) as an extension of the parent. >> >> In a view I suppose I can use a manager to filter the children into >> a

Re: pseudo one-to-one

2012-01-15 Thread Mike Dewhirst
arent. In a view I suppose I can use a manager to filter the children into a pseudo-one-to-one thingy but how do I do this in the Admin? Maybe sort them into date order and only show one? Is there a better way? Thanks for any help Mike -- You received this message

Re: pseudo one-to-one

2012-01-15 Thread Bill Beal
of the parent. > > In a view I suppose I can use a manager to filter the children into a > pseudo-one-to-one thingy but how do I do this in the Admin? > > Maybe sort them into date order and only show one? Is there a better way? > > Thanks for any help > > Mike > >

pseudo one-to-one

2012-01-15 Thread Mike Dewhirst
mapped together (in the Admin) as an extension of the parent. In a view I suppose I can use a manager to filter the children into a pseudo-one-to-one thingy but how do I do this in the Admin? Maybe sort them into date order and only show one? Is there a better way? Thanks for any help Mike