from rest_framework import serializers

from solid_backend.photograph.serializers import PhotographSerializer
from solid_backend.media_object.serializers import MediaObjectSerializer
from .models import SampleProfile


class SampleProfileSerializer(serializers.ModelSerializer):
    media_objects = MediaObjectSerializer(many=True)

    class Meta:
        model = SampleProfile
        fields = "__all__"
        depth = 1

[((9, 20, 9, 52), 'solid_backend.media_object.serializers.MediaObjectSerializer', 'MediaObjectSerializer', (), '', False, 'from solid_backend.media_object.serializers import MediaObjectSerializer\n')]