code: def get_queryset(self):
          
          queryset = super(NestedViewSetMixin, self).get_queryset()
          if hasattr(self.serializer_class, 'parent_lookup_kwargs'):
              orm_filters = {}
              for query_param, field_name in self.serializer_class.parent_lookup_kwargs.items():
                  orm_filters[field_name] = self.kwargs[query_param]
              return queryset.filter(**orm_filters)
          return queryset
docs: Filter the `QuerySet` based on its parents as defined in the
          `serializer_class.parent_lookup_kwargs`.