Entirely new concept

This commit is contained in:
2022-12-06 13:20:07 +00:00
parent 04ec728972
commit 0f127d8ca4
4 changed files with 107 additions and 26 deletions

View File

@@ -57,7 +57,8 @@ class WebCalendar(generic.ListView):
# Call the formatmonth method, which returns our calendar as a table
html_cal = cal.formatmonth(withyear=True)
context['calendar'] = mark_safe(html_cal)
# context['calendar'] = mark_safe(html_cal)
context['weeks'] = html_cal
context['page_title'] = d.strftime("%B %Y")
return context