标签: python django django-templates
我想用include标签打开字典的包装。
# Python kwargs = {"dictionary": "vertical"} # Template {% include "test.html" with kwargs %} {# This should be turned into this #} {% include "test.html" with dictionary=vertical %}
是否可以仅使用 包含标记的标签?