跳至内容
菜单
此问题已终结

For creating a dict, i used the following code:

<t t-set="count" t-value="dict()"/>

<t t-foreach="count_obj" t-as="ob">

<t t-set="count" t-esc="count.update({ob.id: ob.name})"/>

</t>


But i am getting  a none value.Why?
Can anyone help me?Thanks in advance..
形象
丢弃
相关帖文 回复 查看 活动
2
9月 20
8892
7
4月 23
28306
0
10月 21
2133
1
1月 24
1800
1
6月 23
4239