diff options
| author | Carlton Gibson <carlton.gibson@noumenal.es> | 2023-09-29 19:02:19 +0200 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-10-02 16:16:43 +0200 |
| commit | 35bbb2c9c01882b1d77b0b8c737ac646144833d4 (patch) | |
| tree | f10240809715d7855db319d1dbad4eaadadb0dba /tests/utils_tests | |
| parent | f4e72e6523e6968d9628dfbff914ab57dbf19e6b (diff) | |
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.
Diffstat (limited to 'tests/utils_tests')
0 files changed, 0 insertions, 0 deletions
