Awesome. Thanks :)

2009/5/13 大郎 <[email protected]>

> On Mon, May 11, 2009 at 5:29 PM, Primoz Anzur <[email protected]>wrote:
>
>> I have a question; Is it possible to include other templates in the web.py
>> templating system? In the way, that 'include' does in PHP? If so, how?
>>
>
> web.template.Template.globals['render'] = render
>
> template/
> ..  a.html
> ... b.html
>
> # b.html
> $:render.a()
>
> --
> 百才招聘(baicai.com).产品部
> Email: [email protected]
> Gtalk: [email protected]
> twitter.com/qichangxing
>
>
> >
>


-- 
http://www.wolfhowlmedia.com

--~--~---------~--~----~------------~-------~--~----~
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