> {% 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
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.
2 matches
Mail list logo