code: def get_queryset(self):
          ''' Recent events are listed in link form. '''
  
          return Event.objects.filter(
              Q(startTime__gte=timezone.now() - timedelta(days=90)) & (
                  Q(series__isnull=False) | Q(publicevent__isnull=False)
              )
          ).annotate(count=Count('eventregistration')).annotate(**self.get_annotations()).exclude(
              Q(count=0) & Q(status__in=[
                  Event.RegStatus.hidden, Event.RegStatus.regHidden, Event.RegStatus.disabled
              ])
          f get_queryset(self):
          ''' Recent events are listed in link form. '''
  
          return Event.objects.filter(
              Q(startTime__gte=timezone.now() - timedelta(days=90)) & (
                  Q(series__isnull=False) | Q(publicevent__isnull=False)
              )
          ).annotate(count=Count('eventregistration')).annotate(**self.get_annotations()).exclude(
              Q(count=0) & Q(status__in=[
                  Event.RegStatus.hidden, Event.RegStatus.regHidden, Event.RegStatus.disabled
              ])
          )
docs: Recent events are listed in link form.