Merge pull request #69 from joeladdison/lca2017-ical

Generate ical description dynamically
This commit is contained in:
Scott Bragg 2017-02-14 21:53:31 +11:00 committed by GitHub
commit c5c272f7d9

View file

@ -270,7 +270,8 @@ class EventFeed(ICalFeed):
product_id = '-//linux.conf.au/schedule//EN'
timezone = settings.TIME_ZONE
filename = 'conference.ics'
description = Conference.objects.all().first().title
def description(self):
return Conference.objects.all().first().title
def items(self):
return Slot.objects.filter(