【发布时间】:2020-06-20 13:50:15
【问题描述】:
我试图在 for 循环中执行循环,但它会引发错误。什么是正确的选择。
{% cycle "{% include 'col-1-of-3.html' %}" "{% include 'col-2-of-3.html' %}" "{% include 'col-3-of-3.html' %}" %}
错误:
TemplateSyntaxError: Could not parse the remainder: '"{%' from '"{%'
【问题讨论】:
标签: django django-templates django-template-filters