very archive template

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
{% for year_dict in archive_list %}
    {% for year_date, months_list in year_dict.items %}
<h2>{{ year_date }}</h2>
        {% for month_list in months_list %}
            {% for month_name, entries in month_list.items %}
                <h3><p class="indented">{{ month_name }}</p></h3>
                {% for entry in entries %}
                    <p class="indented-more"><a href={{ entry.get_absolute_url }}>{{ entry.title }}</a></p>

{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %}

More like this

  1. very archive view by stuntgoat 4 years, 6 months ago
  2. Format transition middleware by limodou 7 years, 1 month ago
  3. Using reverse() to do redirects by ubernostrum 6 years, 8 months ago
  4. Improved generic foreign key manager 2 by Nomalz 4 years, 6 months ago
  5. Template Query Debug by insin 7 years, 1 month ago

Comments

(Forgotten your password?)