From f21dd827b7dcc18450f75f8c29f7b01da46eca72 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 17 Apr 2015 07:51:35 -0400 Subject: [PATCH] [1.8.x] Fixed #24657 -- Fixed include template tag example. Thanks pattypatpat for the report. Backport of f47c796b52a3c504d487c2484153fa5d90a25a74 from master --- docs/ref/templates/builtins.txt | 6 ++++-- 1 file 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" %}