We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70e95a8 commit 9ca50e8Copy full SHA for 9ca50e8
pycon/schedule/views.py
@@ -200,7 +200,7 @@ def slides_download(request):
200
# now that we accumulated all of the days/rooms, change back to non-default_dict, so templates work
201
grouped_slides = OrderedDict()
202
for day, rooms in day_room_time.items():
203
- grouped_slides[day] = OrderedDict(sorted(rooms.items(), key=lambda room: room.first()))
+ grouped_slides[day] = OrderedDict(sorted(rooms.items(), key=lambda room: room[0]))
204
return render(request, "pycon/schedule/slides_download.html", context={'grouped_slides': grouped_slides})
205
206
0 commit comments