I have a dictionary, and I'd like to iterate over the keys, using the keys to look up the result, like:
{% for key in myDict %} The key is {{key}} and the value is {{myDict.key}}.<br> {% endfor %} Only, it doesn't work. It seems like <variable>.<argument> lookups require the argument to be a literal, not a variable. I'm sure there's some easy way to do this, but I'm missing it. Any help would be appreciated. Thanks! Steve --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---