python Programming Glossary: t3_container
Use blocks from included files for parent in jinja2 http://stackoverflow.com/questions/9624953/use-blocks-from-included-files-for-parent-in-jinja2 to explain this is a test case File t1.djhtml root block t3_container block t3 This should be 'CONTENT' endblock block t3_container.. block t3 This should be 'CONTENT' endblock block t3_container block t2_container block t2 endblock block t2_container root.. 't2.djhtml' print t.render The output is root block t3_container This should be 'CONTENT' block t3_container block t2_container..
|