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 2 years, 3 months ago
  2. Using reverse() to do redirects by ubernostrum 4 years, 5 months ago
  3. Format transition middleware by limodou 4 years, 11 months ago
  4. Avoid widows using a template filter by jcroft 4 years, 11 months ago
  5. Language aware template loader by rmt 2 years, 10 months ago

Comments

(Forgotten your password?)