docs: def related_objects(self, related, objs):
          """
          Gets a QuerySet of current objects related to ``objs`` via the
          relation ``related``.
          """
          from versions.models import Versionable
  
          related_model = related.related_model
          if issubclass(related_model, Versionable):
              qs = related_model.objects.current
          else:
              qs = related_model._base_manager.all()
          return qs.using(self.using).filter(
              **{"%s__in" % related.field.name: objs}
          )