from rest_framework import serializers
from .models import intake, program


class intakeSerializer(serializers.ModelSerializer):
    program_name = serializers.StringRelatedField()


    class Meta:
        model = intake
        fields = ['intake_name', 'program_name']


class programSerializer(serializers.ModelSerializer):


    class Meta:
        model = program
        fields = '__all__'

e89691a37d616e8d622b18be1ced6f6972732124
<mask token>


class programSerializer(serializers.ModelSerializer):


    class Meta:
        model = program
        fields = '__all__'

<mask token>


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


    class Meta:
        model = intake
        fields = ['intake_name', 'program_name']


class programSerializer(serializers.ModelSerializer):


    class Meta:
        model = program
        fields = '__all__'

<mask token>


class intakeSerializer(serializers.ModelSerializer):
    program_name = serializers.StringRelatedField()


    class Meta:
        model = intake
        fields = ['intake_name', 'program_name']


class programSerializer(serializers.ModelSerializer):


    class Meta:
        model = program
        fields = '__all__'

from rest_framework import serializers
from .models import intake, program


class intakeSerializer(serializers.ModelSerializer):
    program_name = serializers.StringRelatedField()


    class Meta:
        model = intake
        fields = ['intake_name', 'program_name']


class programSerializer(serializers.ModelSerializer):


    class Meta:
        model = program
        fields = '__all__'
