(cls, user)
return (
            Episode.objects.filter(favoriteepisode__user=user)
            .select_related("podcast")
            .prefetch_related("slugs", "podcast__slugs")
        )
Favorite episodes of the given user

        Returns the episodes directly, not the FavoriteEpisode objects
Favorite episodes of the given user
Favorite episodes of the given user
def episodes_for_user(cls, user):
        """Favorite episodes of the given user

        Returns the episodes directly, not the FavoriteEpisode objects"""
        return (
            Episode.objects.filter(favoriteepisode__user=user)
            .select_related("podcast")
            .prefetch_related("slugs", "podcast__slugs")
        )
def episodes_for_user ( cls , user ) : return ( Episode . objects . filter ( favoriteepisode__user = user ) . select_related ( "podcast" ) . prefetch_related ( "slugs" , "podcast__slugs" ) )