diff options
Diffstat (limited to 'helsinki/program/views.py')
-rw-r--r-- | helsinki/program/views.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/helsinki/program/views.py b/helsinki/program/views.py index 2e9cd8a..584f24d 100644 --- a/helsinki/program/views.py +++ b/helsinki/program/views.py @@ -111,3 +111,12 @@ def week_schedule(request, year, week): extra_context['sunday_timeslots'] = TimeSlot.objects.filter(start__range=(sunday, next_monday)) return simple.direct_to_template(request, template='program/week_schedule.html', extra_context=extra_context) + + +def bcformats(request): + broadcastformats = BroadcastFormat.objects.all() + extra_context = dict(broadcastformats=broadcastformats) + return simple.direct_to_template( + request, + template='program/bcformats_box.html', + extra_context=extra_context) |