code: def _build_implicit_queryset(self, model, requirements):
          
  
          queryset = self._make_model_queryset(model)
          prefetches = {}
          self._build_implicit_prefetches(
              model,
              prefetches,
              requirements
          )
          prefetch = prefetches.values()
          queryset = queryset.prefetch_related(*prefetch).distinct()
          if self.DEBUG:
              queryset._using_prefetches = prefetches
          return queryset
docs: Build a queryset based on implicit requirements.