text: from rest_framework import serializers
  from .models import Todo, Owner
  
  
  class OwnerSerializer(serializers.ModelSerializer):
      class Meta:
          model = Owner
          fields = ('id', 'name', 'join_date')
  
  
  class TodoSerializer(serializers.ModelSerializer):
      class Meta:
          model = Todo
          fields = ('id', 'title', 'description', 'completed')
  