summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-04-17 07:51:35 -0400
committerTim Graham <timograham@gmail.com>2015-04-17 07:54:56 -0400
commitf21dd827b7dcc18450f75f8c29f7b01da46eca72 (patch)
treeffca79ac93bf83810ecd2c87e4de50407e4a1cd9 /docs
parentbbfcd9618b06556a0ae2c38456ef38bf3bea9e9d (diff)
[1.8.x] Fixed #24657 -- Fixed include template tag example.
Thanks pattypatpat for the report. Backport of f47c796b52a3c504d487c2484153fa5d90a25a74 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/templates/builtins.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt
index cafa21586c..c51d57dbcc 100644
--- a/docs/ref/templates/builtins.txt
+++ b/docs/ref/templates/builtins.txt
@@ -672,9 +672,11 @@ the variable ``template_name``::
your context.
An included template is rendered within the context of the template that
-includes it. This example produces the output ``"Hello, John"``:
+includes it. This example produces the output ``"Hello, John!"``:
+
+* Context: variable ``person`` is set to ``"John"`` and variable ``greeting``
+ is set to ``"Hello"``.
-* Context: variable ``person`` is set to ``"john"``.
* Template::
{% include "name_snippet.html" %}