現(xiàn)在{%if course in selected_course%}里的course我想引用{%for course,values in content.items%}里的course,有辦法嗎?
2 回答

HUH函數(shù)
TA貢獻(xiàn)1836條經(jīng)驗(yàn) 獲得超4個(gè)贊
1 2 3 4 5 | {% for course, values in content.items %} {% if course in selected_course %} ... {% endif %} {% endfor %} |
- 2 回答
- 0 關(guān)注
- 589 瀏覽
添加回答
舉報(bào)
0/150
提交
取消