Hello all, I was testing some code in a TG2 app and realized our current debug.html template as well as the example posted here http://turbogears.org/2.0/docs/main/Genshi.html#simple-genshi-example is broken. The offending code seems to be that at the time of that writing genshi used to provide a "data" attribute which seems to be replaced with __data__ in recent versions, I'm running 0.5.1.
So I was wondering if there was some common api in Genshi that we could use. In fact I think this could be so useful that it could be build into genshi somewhere. perhaps a function called debug() that will return a nicely formatted html table with all the locals? as a related note, is there a way we (TG) could use to differentiate from variable set by TG itself and variables set by the user? --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
