python - Jinja2 extension multiple keyword arguments -
i can not find how pass multiple named arguments jinja2 extension. want that:
{% some_extension foo='foo' bar='bar' %} data {% end_someextension %}
{% macro some_extension(foo='foo', bar="bar") %} {{ foo }}, {{bar}} {% endmacro %}
is looking for??
Comments
Post a Comment