Thank you (for being the first one to reply to my question :).
I think what you meant was "what can possibly be your problem querying
a DB?".
Well, there is no problem querying a DB -- either from inside the
template or not.
It's also trivial to do a --
${Markup("<div>This string comes from the DB</div>")}
to insert arbitrary literal XML markup fragments. However, I still
haven't figured
out a way to _process_ the Genshi sub-template string _from inside
another
Genshi template_, i.e., I want the following to come out as '''/
widget''' --
${_some_uber_magic_("h.url_for(controller='widget', action='index',
id=None)")}
when dynamically included in another Genshi template.
Jerry
On Oct 7, 8:03 pm, EricHolmberg <[EMAIL PROTECTED]> wrote:
> Forgive me if I misunderstood, but couldn't you either query the DB
> before the template is run or simply query the DB in the template?
> Just put in the ${query code here} construct...
>
> -Eric
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---