mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
35bbb2c9c0
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. |
||
---|---|---|
.. | ||
eggs | ||
filter_tests | ||
jinja2/template_tests | ||
other_templates | ||
recursive_templates | ||
relative_templates | ||
syntax_tests | ||
templates | ||
templatetags | ||
__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 |