> On Thu, 2006-06-22 at 12:47 +0000, Paul Childs wrote:

> > I have tried a number of ways of doing this but can't come up with a
> > solution. I don't think pre-processing the data will help since the
> > template still doesn't know how many keys there will be. Changing the
> > structure of the data is not possible.

 Why not? It would be two lines of python to restructure that data to
something the template tags can handle nicely. Then your template will
also read nicely, and wont have code bundled away in a template tag
that could break something somewhere any time later.

 Get the data right, and everything else should follow...


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to