On Nov 18, 2007, at 10:15 PM, Matt wrote:
I have some classes that inherit from one another, here are the
mappers:
mapper(Content, content, polymorphic_on=content.c.type,
polymorphic_identity='content')
mapper(TvContent, content_tv_metadata, inherits=Content,
polymorphic_identity='tv
Thanks for the insight Michael -- some records in the content table
had a 'type' of one of the subclasses, but not a record in the
corresponding subclass table -- works like a charm once I insert
records for everything in the subclass tables.
Matt
On Nov 18, 7:58 pm, Michael Bayer [EMAIL