diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-05-27 20:03:04 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-05-27 20:03:04 (GMT) |
commit | 4a66728a9bbe88704c6e01ec8dd683cdb0a4c0c6 (patch) | |
tree | 9c62c09230aec03187cc13d2ac78d299bd96096b /program/views.py | |
parent | a1487772e667436e2274dece86cb40d2e58632a7 (diff) | |
parent | c27b374386463c56f41815869d6209f9a422b858 (diff) |
Merge branch 'master' into stable
Diffstat (limited to 'program/views.py')
-rw-r--r-- | program/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/views.py b/program/views.py index 5dc82dd..6a53e82 100644 --- a/program/views.py +++ b/program/views.py @@ -195,7 +195,7 @@ def json_day_schedule(request, year=None, month=None, day=None): else: today = datetime.strptime('%s__%s__%s__00__00' % (year, month, day), '%Y__%m__%d__%H__%M') - timeslots = TimeSlot.objects.get_24h_timeslots(today) + timeslots = TimeSlot.objects.get_24h_timeslots(today).select_related('programslot') schedule = [] for ts in timeslots: entry = { |