Commit 47ff4732 authored by fred's avatar fred
Browse files

fix agenda to display future events

parent 521f9754
......@@ -474,7 +474,7 @@ class Agenda(TemplateView):
context = super(Agenda, self).get_context_data(**kwargs)
context['sectionName'] = "News"
context['agenda'] = NewsItem.objects.filter('date')[:20]'date')[:20]
context['news'] = NewsItem.objects.all().order_by('-date')
return context
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment