What you are asking is how to use a variable as a key into a dictionary, you cannot normally do this with Django template. You can get around it by using a template tag or try this:

{% for date in date_list.items|dictsort:"0" %}
{{ date.1 }}
{% endfor %}

Here's an explanation of how the above works:
http://groups.google.com/group/django-users/msg/858e38a7b440b294

Don



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to