On 4/27/06, Jorge Vargas <[EMAIL PROTECTED]> wrote: > I have been poking around in SQLObject and I found this: > > http://www.sqlobject.org/class-sqlobject.styles.Style.html > > which is a complete implementation, so if we write PEP8 classes they will > end up as PEP8 tables (which kind of already are)
I'm not positive that will work completely. If you have user_name, will you end up with byuser_name or by_user_name? If it's by_user_name, we're all set indeed. > going to the TG part I have absolutely no idea how to set this globally :) > > We could always hack SQLObject with this. > Replace style.py line 112 with defaultStyle = Style() j/k I'm actually going to suggest that we create a configuration option (set to True in new quickstart app.cfg) that monkeypatches SQLObject to set the default style to the one we want. I think this is an important and useful change, as SQLAlchemy appears to be PEP8 style already. Things will be much more consistent across the board then. Kevin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears-trunk -~----------~----~----~----~------~----~------~--~---
