don't show cancelled presentations on schedule list

This commit is contained in:
James Tauber 2012-09-19 21:21:22 -04:00
parent 453a443b5f
commit 4b6684b611

View file

@ -26,7 +26,7 @@ def schedule_detail(request, slug=None):
def schedule_list(request):
presentations = Presentation.objects.order_by("id")
presentations = Presentation.objects.exclude(cancelled=True).order_by("id")
ctx = {
"presentations": presentations,
}