1
0
mirror of https://github.com/django/django.git synced 2025-01-07 17:06:04 +00:00
django/tests/template_tests
Keryn Knight 854e9b0668 Fixed #32824 -- Improved performance of NodeList.render().
This avoids the following:
 - checking that each item in the nodelist is a subclass of Node,
 - calling str() on the render_annotated() output, because it's
   documented that Node.render() must return a string,
 - calling mark_safe() on the output, when the value to be wrapped is
   definitively known to be a string because the result of ''.join()
   is always of that type,
 - using an intermediate list to store each individual string.
2021-06-11 12:22:06 +02:00
..
eggs
filter_tests
jinja2/template_tests
other_templates
recursive_templates
relative_templates
syntax_tests Refs #24121 -- Added __repr__() to AdminForm, BlockContext, BlockTranslateNode, and IncludeNode. 2021-06-10 12:47:53 +02:00
templates
templatetags Fixed #32824 -- Improved performance of NodeList.render(). 2021-06-11 12:22:06 +02:00
__init__.py
alternate_urls.py
annotated_tag_function.py
broken_tag.py
test_autoreloader.py
test_base.py
test_callables.py
test_context.py
test_custom.py
test_engine.py
test_extends_relative.py
test_extends.py
test_library.py
test_loaders.py
test_logging.py
test_nodelist.py
test_origin.py
test_parser.py
test_response.py
test_smartif.py
tests.py
urls.py
utils.py
views.py