Add description to ICal feed to help Giggety app identify conference
This commit is contained in:
parent
2dbf020a81
commit
4e22717639
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,7 @@ from account.decorators import login_required
|
||||||
from symposion.schedule.forms import SlotEditForm, ScheduleSectionForm
|
from symposion.schedule.forms import SlotEditForm, ScheduleSectionForm
|
||||||
from symposion.schedule.models import Schedule, Day, Slot, Presentation, Session, SessionRole
|
from symposion.schedule.models import Schedule, Day, Slot, Presentation, Session, SessionRole
|
||||||
from symposion.schedule.timetable import TimeTable
|
from symposion.schedule.timetable import TimeTable
|
||||||
|
from symposion.conference.models import Conference
|
||||||
|
|
||||||
def fetch_schedule(slug):
|
def fetch_schedule(slug):
|
||||||
qs = Schedule.objects.all()
|
qs = Schedule.objects.all()
|
||||||
|
@ -267,6 +267,7 @@ class EventFeed(ICalFeed):
|
||||||
product_id = '-//linux.conf.au/schedule//EN'
|
product_id = '-//linux.conf.au/schedule//EN'
|
||||||
timezone = settings.TIME_ZONE
|
timezone = settings.TIME_ZONE
|
||||||
filename = 'conference.ics'
|
filename = 'conference.ics'
|
||||||
|
description = Conference.objects.all().first().title
|
||||||
|
|
||||||
def items(self):
|
def items(self):
|
||||||
return Slot.objects.filter(
|
return Slot.objects.filter(
|
||||||
|
|
Loading…
Reference in a new issue