code: def get_for_queryset(self, obj_queryset):
          
          qs = Tag.objects.language(get_language())
          if obj_queryset.count() == 0:
              return qs.none()
          qs = qs.filter(
              tagged_items__object_id__in=[
                  obj.id for obj in obj_queryset],
              tagged_items__content_type=ctype_models.ContentType.objects.get_for_model(obj_queryset[0]))  # NOQA
          return qs.distinct()
docs: Returns all tags for a whole queryset of objects.