Hi, your template is missing a closing double-quote this line > "month{% endif %} > should be > "month"{% endif %} >
Also by reformatting a little I noticed you close a <span> with a </ div> {% for current, entry, month, n in months %} <span class= {% if current %}"current" {% else %}"month {% endif %} > {% if entry %}<b>{% endif %} <a href="http://foo.bar/">{{ month }}</a> {% if entry %}</b>{% endif %} </div> {% if n == 6 %}</br>{% endif %} {# show content of the variables for debugging #} cur: {{ current }} entr: {{ entry }} mon: {{ month }} n: {{ n }} </ br> {% endfor %} -- 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 django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.