You can quite easily do this with nested lists. Just have the following structure for each item in the allyears list: ["2005", ["a","b","c"],] then you can reference each item by number: {% for yearitem in allyears %} {{ yearitem.0 }} {% for item in yearitem.1 %} {{ item }} {% endfor %} {% endfor %}
Alternatively, you can still use the dictionary with the dictsort filter, depending on which is easier to set up. -rob --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---