From 4b6684b61188fedb5be4608c4774e46f951a88f7 Mon Sep 17 00:00:00 2001 From: James Tauber Date: Wed, 19 Sep 2012 21:21:22 -0400 Subject: [PATCH] don't show cancelled presentations on schedule list --- symposion/schedule/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/symposion/schedule/views.py b/symposion/schedule/views.py index b2e429dc..92f25ebc 100644 --- a/symposion/schedule/views.py +++ b/symposion/schedule/views.py @@ -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, }