<gh_stars>0
from rest_framework import serializers
from . import models

class TodoTaskSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Todo
        fields = '__all__'

from rest_framework import serializers
from . import models

class TodoTaskSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Todo
        fields = '__all__'