From: Oleg B. <ph...@ph...> - 2010-08-14 19:39:00
|
Hello! On Sat, Aug 14, 2010 at 12:07:04PM -0700, Alex Morano wrote: > I have recently written converters for both a generic odbc driver and a > provider for Filemaker. > > I have had to edit the converters.py file in the core, which I'd rather not > do directly. > > Is there a way to register my own converters to be used when translating the > various fields (in this cvase datetime/date fields from Filemaker) inside my > SQLObject driver class rather than the basecode? The key word is "register" and yes, SQLObject allows that. You should spotted calls to registerConverter() all over converters.py. Oleg. -- Oleg Broytman http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |