from rest_framework.serializers import ModelSerializer
from core.models import Todo


class TodoSerializer(ModelSerializer):
    class Meta:
        model = Todo
        fields = ('__all__')

from rest_framework.serializers import ModelSerializer
from core.models import Todo


class TodoSerializer(ModelSerializer):
    class Meta:
        model = Todo
        fields = ('__all__')
