Блочный шаблон html

The parent_context keyword argument is available when the block is rendered through an {% include_block %} tag, and is a dict of variables passed from the calling template. Some more HTML is rendered. base.html executes self.body(). The body() function on all template-based namespaces refers to the main body of the template, therefore the main body of index.html is rendered. This limitation exists because a block tag works in “both” directions.

Похожие записи: