Re: One2One vs. Foreign Key unique

2010-05-16 Thread Odagi
Thanks a lot! On May 16, 10:28 pm, Rolando Espinoza La Fuente wrote: > On Sun, May 16, 2010 at 6:41 PM, Odagi wrote: > > Hello users, I cannot realize the difference between the different > > ways of extending a model. Suppose we have Place and

Re: One2One vs. Foreign Key unique

2010-05-16 Thread Rolando Espinoza La Fuente
On Sun, May 16, 2010 at 6:41 PM, Odagi wrote: > Hello users, I cannot realize the difference between the different > ways of extending a model. Suppose we have Place and Restaurant Models > (a Restaurant is an extension of a Place). I know 3 different ways of > define the

One2One vs. Foreign Key unique

2010-05-16 Thread Odagi
Hello users, I cannot realize the difference between the different ways of extending a model. Suppose we have Place and Restaurant Models (a Restaurant is an extension of a Place). I know 3 different ways of define the data model: 1. Multi-table inheritance: class Place(models.Model): ... class