Re: how to lookup dictionary in filter return?

2012-01-27 Thread Reinout van Rees
On 16-01-12 10:10, snow leung wrote: my filter return dictionary like this: {{ somevalue | dic_filter }} but when i try this {%for itm in somevalue | dic_filter %} {{itm}} {%endfor %} it only print the key how can i get the value with this ? It is the same in Python. Looping over a

how to lookup dictionary in filter return?

2012-01-27 Thread snow leung
my filter return dictionary like this: {{ somevalue | dic_filter }} but when i try this {%for itm in somevalue | dic_filter %} {{itm}} {%endfor %} it only print the key how can i get the value with this ? thx! -- You received this message because you are subscribed to the Google Groups