Re: Restriction of Model Inheritance - mixing multi table and abstract

2008-07-01 Thread zobbo
On Jul 1, 12:58 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > I don't have time to look at this at the moment (I'm up to my armpits in > somebody else's problem), but this looks like a bug. Would you mind to > open a ticket and include your example so it doesn't get lost? You can >

Re: Restriction of Model Inheritance - mixing multi table and abstract

2008-07-01 Thread Malcolm Tredinnick
On Tue, 2008-07-01 at 12:53 +0100, Ian J Cottee wrote: > Take this simple models file. If I try and do > > pi = PlayableItem(funfactor=33,code='PS2',description='Play station > 2') > > I get > > "TypeError: 'code' is an invalid keyword argument for this function" > > If PlayableItem

Restriction of Model Inheritance - mixing multi table and abstract

2008-07-01 Thread Ian J Cottee
Take this simple models file. If I try and do pi = PlayableItem(funfactor=33,code='PS2',description='Play station 2') I get "TypeError: 'code' is an invalid keyword argument for this function" If PlayableItem inherits directly from Item, this does not happen. Is there some rule I'm breaking