Hi

I have a base layout that I apply to the renderer, like so:

self.render = web.template.render("templates", base="layout")

In layout.html, I want to use a dictionary that is passed into the  
template, and in layout I can see the variable like so:

$:content.category_path

But in the template, category_path is a dictionary. In the layout,  
templator thinks its a string, and so it becomes unusable for me.

Is it even possible to access a variable that is anything other than a  
string in the base layout?

Thanks
Alec

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

Reply via email to