I'd like to prepend a dollar sign to a variable in genshi. (I used to
just add the $ sign to the price in python, but I've eliminated the
loop that goes through the data taken from the database in order to
speed things up).
The variable is ${a['price']} in genshi. I tried the obvious $$
{a['price']} but no love.
Thanks!
P.S. I sort of remember once reading a solution to this, but I can't
find it anywhere. One of the most annoying thigns about google is you
can't search characters like $ well.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---