Open alexanderrichards opened 3 years ago
on the line below we add a custom filter to the Jinja2 builtins dictionary as used to be recommended:
https://github.com/ic-hep/pdm/blob/986e17b090bb287668284f7b0b1106f1918e9bbe/src/pdm/web/WebPageService.py#L39
now it seems that they must be attached to the template environment which of course is part of the flask framework so not as easy,
on the line below we add a custom filter to the Jinja2 builtins dictionary as used to be recommended:
https://github.com/ic-hep/pdm/blob/986e17b090bb287668284f7b0b1106f1918e9bbe/src/pdm/web/WebPageService.py#L39
now it seems that they must be attached to the template environment which of course is part of the flask framework so not as easy,