Re: Dictionary Issue in Django Template (Beginner)

2008-09-24 Thread rskm1
> {% for machine in web %} >   {% for status_message in  status.machine %} > ... > So, i want to be able to do something like status.machine.. If there's a BETTER way, I'd love to hear it too, but this is usually accomplished with a custom filter. It's commonly named "getattr", and your template

Dictionary Issue in Django Template (Beginner)

2008-09-22 Thread [EMAIL PROTECTED]
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}} {% endfor %} {% endfor %} web [list()] - is a list of machines.. status [dict()] - is a dictionary of lists.