[1.7.x] Fixed #12008 -- Clarified relationship between template blocks and includes.

Thanks Daniele Procida for suggested wording.

Backport of 80b8d3bee0 from master
This commit is contained in:
mcgeeco 2014-10-14 13:48:45 +01:00 committed by Tim Graham
parent 813954f15a
commit b729ef0bda
1 changed files with 5 additions and 0 deletions

View File

@ -738,6 +738,11 @@ available to the included template::
This means that there is no shared state between included templates --
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>`.
.. templatetag:: load