I think you want something like
{% for date in date_list|dictsort:"year" %}

On May 1, 11:28 am, Frank Peterson <[EMAIL PROTECTED]> wrote:
> <div class="titlebar">Story archive</div>
> <ul>
> {% for date in date_list %}
>         <li><a href="{{ date.year }}/">{{ date.year }}</a></li>
> {% endfor %}
> </ul>
>
> Not sure how to do this


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

Reply via email to