python - How to include another template with Chameleon? -


i'm using latest chameleon in latest pyramid. want let template include template. php, may use such '@include('_partials.assets')', how use chameleon?

in question how use template inheritance chameleon?, know how inherit, can't include yet.

thank you!

if understand question correctly can put line of code in first template.

<tal metal:use-macro='load:partial_assests.pt'></tal> 

"tal" replaced html tag.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -