<filename>backend/apps/question/serializers/option.py
from rest_framework import serializers

from question.models import TblQuestionOption


class QuestionOptionSerializer(serializers.ModelSerializer):
    class Meta:
        model = TblQuestionOption
        fields = '__all__'
<filename>backend/apps/question/serializers/option.py
from rest_framework import serializers

from question.models import TblQuestionOption


class QuestionOptionSerializer(serializers.ModelSerializer):
    class Meta:
        model = TblQuestionOption
        fields = '__all__'