Skip to content
Browse files

include presentation in the context for breadcrumbs

  • Loading branch information...
1 parent 4461c2f commit ca462422ba5c0e37f76973ecc502fca5cba0ca60 @lukeman lukeman committed Dec 20, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 symposion/schedule/views.py
View
2 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)

0 comments on commit ca46242

Please sign in to comment.
Something went wrong with that request. Please try again.