{% extends "base.html" %} {% block title %}Weekends - Edward Betts{% endblock %} {% block content %}
Week | Date | Saturday | Sunday |
---|---|---|---|
{{ weekend.date.isocalendar().week }} | {{ weekend.date.strftime("%-d %b %Y") }} | {% for day in "saturday", "sunday" %}{% if weekend[day] %} {% for event in weekend[day] %} {{ event.title }}{% if not loop.last %},{%endif %} {% endfor %} {% else %} free {% endif %} | {% endfor %}