Hi, The following are a few lines from my Django template which i cannot get to work..
{% for machine in web %} {% for status_message in status.machine %} {{status_message}} <BR> {% endfor %} {% endfor %} web [list()] - is a list of machines.. status [dict()] - is a dictionary of lists. So, if I do something like status.intel2, it would return a list. status_message - is something i am using to traverse through the list. In the above code, if I hard code something like status.intel4.. my code works perfectly fine..and a list is returned, which i can traverse through using the second for loop// But, I want to be able to do this dynamically, using the machine name from the web list.. So, i want to be able to do something like status.machine.. Can someone please help me out!! Thanks, Venkatesh H --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---