From 4e22717639a72c23d0bd1dfa8bd3fe2025bc43d4 Mon Sep 17 00:00:00 2001 From: Scott Bragg Date: Sat, 14 Jan 2017 09:47:14 +1100 Subject: [PATCH] Add description to ICal feed to help Giggety app identify conference --- symposion/schedule/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/symposion/schedule/views.py b/symposion/schedule/views.py index 319d5013..ca70542e 100644 --- a/symposion/schedule/views.py +++ b/symposion/schedule/views.py @@ -19,7 +19,7 @@ from account.decorators import login_required from symposion.schedule.forms import SlotEditForm, ScheduleSectionForm from symposion.schedule.models import Schedule, Day, Slot, Presentation, Session, SessionRole from symposion.schedule.timetable import TimeTable - +from symposion.conference.models import Conference def fetch_schedule(slug): qs = Schedule.objects.all() @@ -267,6 +267,7 @@ class EventFeed(ICalFeed): product_id = '-//linux.conf.au/schedule//EN' timezone = settings.TIME_ZONE filename = 'conference.ics' + description = Conference.objects.all().first().title def items(self): return Slot.objects.filter(