Fixed #12008 -- Clarified relationship between template blocks and includes.
Thanks Daniele Procida for suggested wording.
This commit is contained in:
parent
303a848631
commit
80b8d3bee0
|
@ -700,6 +700,11 @@ available to the included template::
|
||||||
This means that there is no shared state between included templates --
|
This means that there is no shared state between included templates --
|
||||||
each include is a completely independent rendering process.
|
each include is a completely independent rendering process.
|
||||||
|
|
||||||
|
Blocks are evaluated *before* they are included. This means that a template
|
||||||
|
that includes blocks from another will contain blocks that have *already
|
||||||
|
been evaluated and rendered* - not blocks that can be overridden by, for
|
||||||
|
example, an extending template.
|
||||||
|
|
||||||
See also: :ttag:`{% ssi %}<ssi>`.
|
See also: :ttag:`{% ssi %}<ssi>`.
|
||||||
|
|
||||||
.. templatetag:: load
|
.. templatetag:: load
|
||||||
|
|
Loading…
Reference in New Issue