{% load i18n %} {% comment %} ############################################################ # # # links is a dict containing the following: # # 'prev': a date in the previous month # # 'next': a date in the next month # # # ############################################################ {% endcomment %} <{{ month|date:"F, Y" }}> {% comment %} ############################################################ # # # month_calendar.0 contains the first week as a list of days. # # this can be used to generate day name headers: # # eg. "Su Mo Tu We Th Fr Sa" # # # ############################################################ {% endcomment %} {% for day in month_calendar.0 %} {{ day.date|date:"l"|slice:":2" }} {% endfor %}