I can access database info in templates if I add a <?python ... ?>
section with the same imports and select() method call on classes I
would use in tg-admin shell.

Is this the only or best way to access database info in *templates*?

Is there a slicker way to do it?

Chris


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to