from rest_framework.serializers import ModelSerializer
from .models import CountInstance


class CountInstanceSerializer(ModelSerializer):
    class Meta:
        model = CountInstance

from rest_framework.serializers import ModelSerializer
from .models import CountInstance


class CountInstanceSerializer(ModelSerializer):
    class Meta:
        model = CountInstance
        fields = ('count_total',)

Update serializer to deal with new model
Update serializer to deal with new model
