跳至內容
選單
此問題已被標幟

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
8941
7
4月 23
28391
0
10月 21
2156
1
1月 24
1868
1
6月 23
4316