accessing dictionary in a template

2007-06-16 Thread cesco
Hi, I'm using the django-voting application whose method get_votes_in_bulk(object) returns a "votes" dictionary like: {object_id: {''score': score, 'num_votes': num_votes} I'm passing this dictionary as extra_context to a template where I'm also using the regroup tag on theobjects which I pass a

Re: accessing dictionary in a template

2007-06-16 Thread Malcolm Tredinnick
On Sat, 2007-06-16 at 13:17 +, cesco wrote: > Hi, > > I'm using the django-voting application whose method > get_votes_in_bulk(object) returns a "votes" dictionary like: > {object_id: {''score': score, 'num_votes': num_votes} > > I'm passing this dictionary as extra_context to a template whe