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)
anyway this seems very important cause looking at the TG_* classes having PEP8 SQLObjects with the http://www.sqlobject.org/class-sqlobject.styles.DefaultStyle.html
is just a pain.
Looking at the source of SQLObject (0.7.1dev_r1457) which is then one I have at hand right now
It seems all that needs to be done is set a sqlmeta.style value to the sqlmeta class in main.py
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
want me to open a ticket?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
- [tg-trunk] SQLObject and PEP8 Jorge Vargas
- [tg-trunk] Re: SQLObject and PEP8 Kevin Dangoor
