summaryrefslogtreecommitdiff
path: root/tests/template_tests/templates/test_context_stack.html
diff options
context:
space:
mode:
authorBaptiste Mispelon <bmispelon@gmail.com>2014-02-22 22:28:27 +0100
committerBaptiste Mispelon <bmispelon@gmail.com>2014-02-22 23:33:48 +0100
commit7e1376c2b0ea9e02e61c1c764f02cd40c6f7e849 (patch)
tree982d36e199720e862edb1403239bf3be313715be /tests/template_tests/templates/test_context_stack.html
parent1d3ae4760b060f0df2965a2cfbee941bf8da6b31 (diff)
Fixed #21741 -- Fixed render_to_string to stop pushing empty dictionaries to its Context
Thanks to kezabelle for the report and original patch and to numerodix for his improved patch.
Diffstat (limited to 'tests/template_tests/templates/test_context_stack.html')
-rw-r--r--tests/template_tests/templates/test_context_stack.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/template_tests/templates/test_context_stack.html b/tests/template_tests/templates/test_context_stack.html
new file mode 100644
index 0000000000..c5097c5e66
--- /dev/null
+++ b/tests/template_tests/templates/test_context_stack.html
@@ -0,0 +1,2 @@
+{% load custom %}
+{% context_stack_length %}