Re: OneToOneField - ModelInheritance - Documentation samples

2007-05-11 Thread [EMAIL PROTECTED]
Hi :) Thank you very much for aswering again Malcolm. > The short answer is because select_related() does not work across > reverse links (the Place -> Restaurant direction). It also won't save > you any requests when model inheritance is implemented. I think I've already read it somewhere, but

Re: OneToOneField - ModelInheritance - Documentation samples

2007-05-11 Thread Malcolm Tredinnick
On Fri, 2007-05-11 at 08:13 -0700, [EMAIL PROTECTED] wrote: > Hello again DjangoUsers, > > Thank you for your reply Malcolm, actually my problem remained in the > fact my own object name was not "Restaurant" but something like > "ItalianRestaurant", and I only tried to call it from places by > "i

Re: OneToOneField - ModelInheritance - Documentation samples

2007-05-11 Thread [EMAIL PROTECTED]
Hello again DjangoUsers, Thank you for your reply Malcolm, actually my problem remained in the fact my own object name was not "Restaurant" but something like "ItalianRestaurant", and I only tried to call it from places by "italianRestaurant", as I would have done in Java reflect for example, I d

Re: OneToOneField - ModelInheritance - Documentation samples

2007-05-11 Thread Malcolm Tredinnick
On Fri, 2007-05-11 at 04:57 -0700, [EMAIL PROTECTED] wrote: > Hello Djangousers, > > I'm quite young with Django, so I apologize for my question. > > > I just tried to do exactly what is written on OneToOneField (http:// > www.djangoproject.com/documentation/models/one_to_one/) and > ModelInher

OneToOneField - ModelInheritance - Documentation samples

2007-05-11 Thread [EMAIL PROTECTED]
Hello Djangousers, I'm quite young with Django, so I apologize for my question. I just tried to do exactly what is written on OneToOneField (http:// www.djangoproject.com/documentation/models/one_to_one/) and ModelInheritance (http://code.djangoproject.com/wiki/ ModelInheritance). What I want