Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #115 from molgen/ics-internal-only
events: Only export internal events to ics
  • Loading branch information
donald committed May 27, 2021
2 parents abed7b8 + 04aa024 commit 7182bb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpicms/events/models.py
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 7182bb2

Please sign in to comment.