summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-05-01 14:27:10 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-05-01 14:27:10 +0000
commitb26aa18c5c97f4883c56bd0a17e0b9257e5acd46 (patch)
tree1581ba0f33d883551080fb22d731976dad7338a3 /docs/ref
parentd2b5a6c8d78e4d96c7e5a309cf2aa125db7654c3 (diff)
Fixed #13444 -- Improved the documentation around the backwards compatibility quirks of the cycle and include tags. Thanks to awmcclain for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@13063 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/templates/builtins.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
index 291abcb8cc..41bf683c22 100644
--- a/docs/ref/templates/builtins.txt
+++ b/docs/ref/templates/builtins.txt
@@ -619,6 +619,13 @@ including it. This example produces the output ``"Hello, John"``:
See also: ``{% ssi %}``.
+.. note::
+ The :ttag:`include` tag should be considered as an implementation of
+ "render this subtemplate and include the HTML", not as "parse this
+ subtemplate and include its contents as if it were part of the parent".
+ This means that there is no shared state between included templates --
+ each include is a completely independent rendering process.
+
.. templatetag:: load
load