thansk Evans , it worked . =)
On Aug 31, 6:48 pm, Tom Evans wrote:
> On Wed, Aug 31, 2011 at 11:40 AM, kele wrote:
>
> > c = Context( {'teams':
> > {1: ['a', 'b'] , 2:['c', 'd']}
> > } )
>
> > i have try like this :
>
> > {% for k in teams %}
> > {{k}} {{k.0
On Wed, Aug 31, 2011 at 11:40 AM, kele wrote:
>
>
> c = Context( {'teams':
> {1: ['a', 'b'] , 2:['c', 'd']}
> } )
>
> i have try like this :
>
> {% for k in teams %}
> {{k}} {{k.0}} # also try teams[k] ... etc. but also
> dosent work
> {% endfor %}
c = Context( {'teams':
{1: ['a', 'b'] , 2:['c', 'd']}
} )
i have try like this :
{% for k in teams %}
{{k}} {{k.0}}# also try teams[k] ... etc. but also
dosent work
{% endfor %}
sorry for my noob question , but pls show me how to to this .
3 matches
Mail list logo