Re: Multi-table inheritance with parent that can be null?

2008-06-29 Thread zenx
Ok. Everything clear then! Thank you! On 29 jun, 12:36, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Sun, 2008-06-29 at 02:55 -0700, zenx wrote: > > Can you make a model that inherits from another model with multi-table > > inheritance and that can have a null parent? Or should do that

Re: Multi-table inheritance with parent that can be null?

2008-06-29 Thread Malcolm Tredinnick
On Sun, 2008-06-29 at 02:55 -0700, zenx wrote: > Can you make a model that inherits from another model with multi-table > inheritance and that can have a null parent? Or should do that always > with OneToOneFIeld(null=True) ? No. The assumption is that the parent link will always be non-null.

Multi-table inheritance with parent that can be null?

2008-06-29 Thread zenx
Can you make a model that inherits from another model with multi-table inheritance and that can have a null parent? Or should do that always with OneToOneFIeld(null=True) ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google