Sorry. Yes, in the template I do a loop...
for crop in crops In the view, I make an array ci (cropinfo). Each ci I append a new dict object (cd) which is associated with the crop id. In the template, I just want to loop through the crops and then display items in the embedded dict that are tied to the crop.id. Hope this helps clarify it. Thanks, Matt On Sep 2, 2:01 pm, David Zhou <[EMAIL PROTECTED]> wrote: > On Sep 2, 2008, at 1:34 PM, Matt Berg wrote: > > > In my template, I want to be able to iterate through the crops with > > info like this: > > > {{ ci.[crop.id].total }} > > Are you using this within another loop? Where's crop.id coming from? > > --- > David Zhou > [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---