Repository navigation
v1.3.0rc14
Pre-release
Pre-release
·
21 commits
to main
since this release
Fixed
- A template library that registers a tag djust already provides is no
longer bridged again on every{% load %}. djust keeps its own tag and
does not bridge the library's version, but it still recorded the library as
the tag's owner, so its "already bridged" check never passed. Each
{% load %}of such a library (djust_components, for one) then bridged it
again, logged the refusal again (about 150 warnings per page) and moved the
registry generation during the parse, which dropped every cached template.
The refused names are now tracked per engine and skipped by that check, and
the warning is logged once per library and tag per process. If the built-in
tag is later removed, the next{% load %}bridges the library's version. 5
regression cases inpython/tests/test_refused_tag_rebridge.py.
What's Changed
- fix(templates): stop re-bridging a library whose tag djust refuses on every {% load %} by @johnrtipton in #3623
- release: 1.3.0rc14 by @johnrtipton in #3627
Full Changelog: v1.3.0rc13...v1.3.0rc14