Re: how to render context like this :

2011-08-31 Thread kele
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

Re: how to render context like this :

2011-08-31 Thread Tom Evans
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 %}

how to render context like this :

2011-08-31 Thread kele
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 .