{% for d in NewsDate.objects.filter(end_date__gte=timezone.now(),
news__is_moderated=True, news__type__in=["WEEKLY",
"EVENT"]).order_by('start_date', 'end_date') %}
{% trans %}Events today and the next few days{% endtrans %}
{% if events_dates %}
{% for d in events_dates %}
{{ d|localtime|date('D') }}
{{ d|localtime|date('d') }}
{{ d|localtime|date('b') }}
{% for news in object_list.filter(dates__start_date__gte=d,
dates__start_date__lte=d+timedelta(days=1),
type="EVENT").exclude(dates__end_date__lt=timezone.now())
.order_by('dates__start_date') %}