From 68cba4659af9744ea949647320e16deab3912840 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Sat, 2 Sep 2017 00:50:45 +0200 Subject: [PATCH] Add event abstract to iCal Testing, what is testing?! --- src/program/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/program/models.py b/src/program/models.py index 7e7c65b3..b34bed8a 100644 --- a/src/program/models.py +++ b/src/program/models.py @@ -518,6 +518,7 @@ class EventInstance(CampRelatedModel): def get_ics_event(self): ievent = icalendar.Event() ievent['summary'] = self.event.title + ievent['description'] = self.event.abstract ievent['dtstart'] = icalendar.vDatetime(self.when.lower).to_ical() ievent['dtend'] = icalendar.vDatetime(self.when.upper).to_ical() ievent['location'] = icalendar.vText(self.location.name)