Skip to content

Commit

Permalink
events: Remove "color" from event_dict
Browse files Browse the repository at this point in the history
We are going to feed internal and external events as separat event
sources to the FullCalendar. It is more efficient to specify the color
for the whole event source. So remove it from what get_dict returns for
an event.
  • Loading branch information
donald committed Apr 21, 2021
1 parent d8f22b1 commit 9141129
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mpicms/events/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ def get_dict(self, request=None):
'start': self.start.isoformat(),
'end': self.end.isoformat() if self.end else None,
'url': self.get_url(request=request),
'color': '#006c66'
}

def clean(self):
Expand Down

0 comments on commit 9141129

Please sign in to comment.