Derived class guesses table name even when parent specifies it

Hamish Lawson <[email protected]> Thu, 14 Jul 2005 20:41:53 +0100
Newsgroups gmane.comp.web.skunkweb
Message-ID <[email protected]>
If a PyDO table class T specifies the table name then the mechanism
for guessing it isn't invoked. But a class T1 derived from T will
attempt to guess the table name (nad perhaps get it wrong), unless T1
itself defines the table name or T sets guess_tablename to False.
Rather than guessing the table name, would it not be better for T1 to
use the table name defined by T?


Hamish Lawson


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click