Thanks a lot. I was just blind eyed yesterday I think. Corrected code
is:
{% for key,value in dictionary.items %}
<h2>{{key|date:"Y-m-d"}}</h2>
{% for key,value in value.items %}
<h3>{{ key.0|date:"H.i" }} - {{ key.1|date:"H.i" }}</
h3>
{{ value }} // Array handling
{% endfor %}
{% endfor %}
Changed third line from value to value.items and everything is fine.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---