这是我的代码:
{% for i,j in enumerate(a) %} {{i}} ,{{j}} {% endfor%}
但是,它显示错误,我认为它无法运行该enumerate方法,
enumerate
那么如何运行enumerate django模板,
谢谢
python django templates
django ×1
python ×1
templates ×1