0
0
mirror of https://github.com/django/django.git synced 2024-11-29 06:03:25 +01:00
django/tests/template_tests
Carlton Gibson 35bbb2c9c0 Fixed #34883 -- Allowed template tags to set extra data on templates.
By setting a value in the `parser.extra_data` mapping, template tags
pass additional data out of the parsing context.

Any extra data set is exposed on the template via the matching
`.extra_data` attribute.

Library authors should use a key to namespace extra data. The 'django'
namespace is reserved for internal use.
2023-10-02 16:16:43 +02:00
..
eggs
filter_tests Refs #33864 -- Removed length_is template filter per deprecation timeline. 2023-09-18 22:12:40 +02:00
jinja2/template_tests
other_templates
recursive_templates
relative_templates
syntax_tests Refs #33476 -- Applied Black's 2023 stable style. 2023-02-01 11:04:38 +01:00
templates
templatetags Fixed #34883 -- Allowed template tags to set extra data on templates. 2023-10-02 16:16:43 +02:00
__init__.py
alternate_urls.py
annotated_tag_function.py
broken_tag.py
test_autoreloader.py Refs #15667 -- Added resetting default renderer when FORM_RENDERER is changed. 2023-09-29 08:54:13 +02:00
test_base.py
test_callables.py
test_context.py Fixed #34427 -- Improved error message when context processor does not return a dict. 2023-03-29 08:54:04 +02:00
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 Fixed #34883 -- Allowed template tags to set extra data on templates. 2023-10-02 16:16:43 +02:00
urls.py
utils.py
views.py