{% comment %} No whitespace before XML declaration. {% endcomment %}{% load wagtailcore_tags i18n %} Stockholm {% for course in courses %} {{ course.get_full_url }} Red Hat {% for category in course.category_set.all %}{{ category }}{% endfor %} {% for event in course.events %} {% if event.price %} {% if event.is_scheduled %} {% else %} {% endif %} {% endif %} {% endfor %} {% endfor %}