On Fri, Aug 10, 2007 at 04:58:57PM -0400, luis cota wrote:
> Is it possible to override this mapping without delving into styles.py?
You can just use Style instead of default MixedCaseUnderscoreStyle:
class MyTable(SQLObject):
class sqlmeta:
style = styles.Style()
You can even set the Style globally by doing
import styles
styles.defaultStyle = styles.Style()
as early as possible, before any of you SQLObject classes is defined.
Style is almost one-to-one mapping.
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss