From 6366aa1a3212c2358ee6e0e38d20c725a79193f3 Mon Sep 17 00:00:00 2001 From: Johannes Raggam Date: Mon, 11 Apr 2011 12:53:41 +0200 Subject: for broadcastformats box, use the new template tag diff --git a/helsinki/program/templates/program/broadcastformats_box.html b/helsinki/program/templates/program/broadcastformats_box.html deleted file mode 100644 index 13fb0a9..0000000 --- a/helsinki/program/templates/program/broadcastformats_box.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - - Broadcast Formats - - - - {% if broadcastformat_list %} -
-
Legende
- {% for broadcastformat in broadcastformat_list %} -
- {{ broadcastformat.format }} -
- {% endfor %} -
- {% endif %} - - diff --git a/helsinki/program/urls_program.py b/helsinki/program/urls_program.py index 5462e10..a93db83 100644 --- a/helsinki/program/urls_program.py +++ b/helsinki/program/urls_program.py @@ -17,11 +17,6 @@ timeslot_dict = { 'queryset': TimeSlot.objects.all(), 'template_object_name': 'timeslot' } -broadcastformart_dict = { - 'queryset': BroadcastFormat.objects.all(), - 'template_name': 'program/broadcastformats_box.html', - 'template_object_name': 'broadcastformat' -} recommendation_dict = {'template_name': 'program/recommendations_box.html'} urlpatterns = patterns('', @@ -36,6 +31,5 @@ urlpatterns = patterns('', (r'^shows/?$', show_list), url(r'^shows/(?P[\w-]+)/?$', object_detail, show_dict, name='show-detail'), url(r'^(?P\d+)/?$', object_detail, timeslot_dict, name='timeslot-detail'), - (r'^broadcastformats_box/?$', object_list, broadcastformart_dict,), (r'^week/?$', week_schedule) ) -- cgit v0.10.2