diff options
author | Johannes Raggam <raggam-nl@adm.at> | 2011-04-08 21:12:00 (GMT) |
---|---|---|
committer | Johannes Raggam <raggam-nl@adm.at> | 2011-04-08 21:12:00 (GMT) |
commit | de060aca81bf86472d37b8fc157e2984ec8ce791 (patch) | |
tree | 13a042e6eb6eed1f3fbd42ed7117f91727ab87b9 /helsinki/program/views.py | |
parent | 41d65a62e0d9ebb6e64661ac9ac014d5aa71c85c (diff) |
optimizations
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) |