from rest_framework import serializers
from problem.models import ProblemEX
from problem.serializers import ProblemEXSerializer
from recommendation.models import RecommendHistory

class RecommendHistorySerializer(serializers.ModelSerializer):
    problemex = ProblemEXSerializer(read_only=True)

    class Meta:
        model = RecommendHistory
        fields = ('user','is_Ex','is_Solved','problemex')
f39e4395f78d7081f00fb44062e5d3991f09dac9
<mask token>

<mask token>


class RecommendHistorySerializer(serializers.ModelSerializer):
    <mask token>


    class Meta:
        model = RecommendHistory
        fields = 'user', 'is_Ex', 'is_Solved', 'problemex'

<mask token>


class RecommendHistorySerializer(serializers.ModelSerializer):
    problemex = ProblemEXSerializer(read_only=True)


    class Meta:
        model = RecommendHistory
        fields = 'user', 'is_Ex', 'is_Solved', 'problemex'

from rest_framework import serializers
from problem.models import ProblemEX
from problem.serializers import ProblemEXSerializer
from recommendation.models import RecommendHistory


class RecommendHistorySerializer(serializers.ModelSerializer):
    problemex = ProblemEXSerializer(read_only=True)


    class Meta:
        model = RecommendHistory
        fields = 'user', 'is_Ex', 'is_Solved', 'problemex'

from rest_framework import serializers
from problem.models import ProblemEX
from problem.serializers import ProblemEXSerializer
from recommendation.models import RecommendHistory

class RecommendHistorySerializer(serializers.ModelSerializer):
    problemex = ProblemEXSerializer(read_only=True)

    class Meta:
        model = RecommendHistory
        fields = ('user','is_Ex','is_Solved','problemex')