I made some minor changes and it worked. I didn't realize you can do this with dates and regroup...
{% regroup nlist by date_posted|date:"Y" as grouped %} {% for group in grouped %} <h2>{{ group.grouper }}</h2> <ul> {% for item in group.list %} <li><a href="{{ item.get_file_url }}">{{ item.date_posted|date:"F Y" }}</a></li> {% endfor %} </ul> {% endfor %} Also, since they are already reverse sorted by date, I removed the dictsort since group.list already contains what I need in the right order. Thanks! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---