Evaluating which variables are evaluated in jinja2's AST

后端 未结 0 661
栀梦
栀梦 2021-01-05 06:19

Let\'s say I have the following jinja2 code:

{% for n in lst %}
{% if n.a == 2 %}
{{ n.b }}
{% endif %}
{% endfor %}

And I have the following

相关标签:
回答
  • 消灭零回复
提交回复
热议问题