4 ms·
Although this only applies to format-string evaluation in Jinja2, which would look something like {{ "Hello {user.name}".format(user) }} which is really k
by dom0 10y ago
Although this only applies to format-string evaluation in Jinja2, which would look something like
{{ "Hello {user.name}".format(user) }}
which is really kinda obscure, especially since Jinja already has an explicit |format using the very safe / limited (but generally sufficient) alternative %(key)s syntax (also suitable for i18n, to some extend).