Skip to content

Commit

Permalink
events: Only export internal events to ics
Browse files Browse the repository at this point in the history
  • Loading branch information
donald committed May 27, 2021
1 parent abed7b8 commit 04aa024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpicms/events/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def clean(self): # Prevent more than one event index
@property
def ics(self):
c = Calendar()
for event in self.events:
for event in self.events.filter(external=False):
e = ICSEvent(
name=event.title,
begin=event.start,
Expand Down

0 comments on commit 04aa024

Please sign in to comment.