From ca462422ba5c0e37f76973ecc502fca5cba0ca60 Mon Sep 17 00:00:00 2001 From: Luke Hatcher Date: Thu, 20 Dec 2012 01:55:00 -0500 Subject: [PATCH] include presentation in the context for breadcrumbs --- symposion/schedule/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/symposion/schedule/views.py b/symposion/schedule/views.py index 87cf9125..e9dd815d 100644 --- a/symposion/schedule/views.py +++ b/symposion/schedule/views.py @@ -45,6 +45,7 @@ def schedule_conference(request): def schedule_detail(request, slug=None): + schedule = fetch_schedule(slug) days_qs = Day.objects.filter(schedule=schedule) @@ -147,5 +148,6 @@ def schedule_presentation_detail(request, pk): ctx = { "presentation": presentation, + "schedule": presentation.slot.day.schedule, } return render(request, "schedule/presentation_detail.html", ctx)