Fixed #12008 -- Clarified relationship between template blocks and includes.

Thanks Daniele Procida for suggested wording.
This commit is contained in:
mcgeeco 2014-10-14 13:48:45 +01:00 committed by Tim Graham
parent 303a848631
commit 80b8d3bee0
1 changed files with 5 additions and 0 deletions

View File

@ -700,6 +700,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