On Tue, Jan 16, 2007 at 08:54:07AM -0800, Molly Aplet wrote: > ./sqlobject/main.py:589: DeprecationWarning: Use of this attribute should be > replaced with .sqlmeta.cacheValues > '.sqlmeta.%s' % self.name, level=self.deprecation_level) > ./sqlobject/main.py:589: DeprecationWarning: Use of this attribute should be > replaced with .sqlmeta.columns > '.sqlmeta.%s' % self.name, level=self.deprecation_level) > ./sqlobject/main.py:589: DeprecationWarning: Use of this attribute should be > replaced with .sqlmeta.columnList > '.sqlmeta.%s' % self.name, level=self.deprecation_level)
These deprecation warnings are from using '_'-attributes at the SQLObject level: class MyTable(SQLObject): _cacheValues = True They have to be moved inside sqlmeta class: class MyTable(SQLObject): class sqlmeta: cacheValues = True Oleg. -- Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ sqlobject-discuss mailing list sqlobject-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss