Re: Unidirectional relations

2011-04-20 Thread Ian Clelland
On Tue, Apr 19, 2011 at 7:28 PM, Jacob Kaplan-Moss wrote: > 2011/4/19 Juan Pablo Romero Méndez : > > Is it possible to create unidirectional relations within django's orm? > > > > What I mean is a situation where a parent has a children_set of > > references to

Re: Unidirectional relations

2011-04-19 Thread Mike Dewhirst
I think you would need an intermediate table 1:n with the parent containing the child ids. Otherwise the children need a foreign key reference to the parent. On 20/04/2011, at 10:06 AM, Juan Pablo Romero Méndez wrote: > Hello, > > Is it possible to create unidirectional relatio

Re: Unidirectional relations

2011-04-19 Thread Jacob Kaplan-Moss
2011/4/19 Juan Pablo Romero Méndez : > Is it possible to create unidirectional relations within django's orm? > > What I mean is a situation where a parent has a children_set of > references to children, but the children don't have any reference to > the father.

Unidirectional relations

2011-04-19 Thread Juan Pablo Romero Méndez
Hello, Is it possible to create unidirectional relations within django's orm? What I mean is a situation where a parent has a children_set of references to children, but the children don't have any reference to the father. Regards, Juan Pablo -- You received this message becau