mirror of
https://github.com/django/django.git
synced 2025-02-23 16:24:46 +00:00
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 --
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user