Skip to content
Snippets Groups Projects

Calendar events and iCal feeds

Merged Jonathan Weth requested to merge calendar-object-feeds into master
1 file
+ 1
2
Compare changes
  • Side-by-side
  • Inline
+ 1
2
@@ -1520,8 +1520,7 @@ class CalendarEvent(CalendarEventMixin, ExtensiblePolymorphicModel):
@classmethod
def get_objects(cls, request) -> Iterable:
"""Return all objects that should be included in the calendar."""
# FIXME Polymorphic only this one!!
return cls.objects.all()
return cls.objects.instance_of(cls)
class Meta:
verbose_name = _("Calendar Event")
Loading