1
0
mirror of https://github.com/django/django.git synced 2024-12-29 04:26:28 +00:00
django/tests/template_tests
Tim Graham 5c63c45512 [1.8.x] Fixed #23441, #24555 -- Improved the behavior of InclusionNode.
This change:

* Makes the InclusionNode cache-safe by removing render-time side effects
  to its nodelist.
* Ensures the render_context stack is properly scoped and reset by updating
  the render call to use Template.render rather than Nodelist.render.

Backport of 0808ccce38 from master
2015-04-01 13:12:18 -04:00
..
eggs
filter_tests [1.8.x] Fixed escaping regression in urlize filter. 2015-03-10 19:12:20 -04:00
jinja2/template_tests [1.8.x] Fixed #24168 -- Allowed selecting a template engine in a few APIs. 2015-02-03 08:32:14 +01:00
other_templates [1.8.x] Cleaned up template loader tests. 2015-02-24 08:59:05 -05:00
syntax_tests [1.8.x] Moved ifchanged tests into syntax_tests/test_if_changed.py. 2015-02-24 09:22:05 -05:00
templates [1.8.x] Fixed #23441, #24555 -- Improved the behavior of InclusionNode. 2015-04-01 13:12:18 -04:00
templatetags [1.8.x] Fixed #23441, #24555 -- Improved the behavior of InclusionNode. 2015-04-01 13:12:18 -04:00
__init__.py
alternate_urls.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
test_callables.py Deprecated TEMPLATE_STRING_IF_INVALID. 2014-12-28 17:02:30 +01:00
test_context.py [1.8.x] Moved RequestContextTests into test_context. 2015-02-24 09:18:28 -05:00
test_custom.py [1.8.x] Fixed #23441, #24555 -- Improved the behavior of InclusionNode. 2015-04-01 13:12:18 -04:00
test_engine.py [1.8.x] Cleaned up template loader tests. 2015-02-24 08:59:05 -05:00
test_loaders.py [1.8.x] Cleaned up template loader tests. 2015-02-24 08:59:05 -05:00
test_nodelist.py [1.8.x] Deprecated TEMPLATE_DEBUG setting. 2015-02-15 20:48:48 +01:00
test_parser.py [1.8.x] Moved test_token_smart_split into ParserTests. 2015-02-24 09:22:15 -05:00
test_response.py [1.8.x] Cleaned up template directory handling in template tests. 2015-02-24 09:22:25 -05:00
test_smartif.py
test_unicode.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
tests.py [1.8.x] Cleaned up template directory handling in template tests. 2015-02-24 09:22:25 -05:00
urls.py [1.8.x] Sorted imports with isort; refs #23860. 2015-02-09 14:24:06 -05:00
utils.py [1.8.x] Cleaned up template loader tests. 2015-02-24 08:59:05 -05:00
views.py