From 7e1376c2b0ea9e02e61c1c764f02cd40c6f7e849 Mon Sep 17 00:00:00 2001 From: Baptiste Mispelon Date: Sat, 22 Feb 2014 22:28:27 +0100 Subject: 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. --- tests/template_tests/templates/test_context_stack.html | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/template_tests/templates/test_context_stack.html (limited to 'tests/template_tests/templates/test_context_stack.html') 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 %} -- cgit v1.3