from rest_framework import serializers
from .models import CountryData

class CountryDataSerializer(serializers.ModelSerializer):
	class Meta:
		model = CountryData
		fields = ("Country", "TotalCases", "NewCases", "TotalDeaths", "NewDeaths", "TotalRecovered", "ActiveCases", "Serious")
f944bffdc4cff512041da9a809177bf55ad44fe8
<mask token>

<mask token>


class CountryDataSerializer(serializers.ModelSerializer):


    class Meta:
        model = CountryData
        fields = ('Country', 'TotalCases', 'NewCases', 'TotalDeaths',
            'NewDeaths', 'TotalRecovered', 'ActiveCases', 'Serious')

from rest_framework import serializers
from .models import CountryData


class CountryDataSerializer(serializers.ModelSerializer):


    class Meta:
        model = CountryData
        fields = ('Country', 'TotalCases', 'NewCases', 'TotalDeaths',
            'NewDeaths', 'TotalRecovered', 'ActiveCases', 'Serious')

from rest_framework import serializers
from .models import CountryData

class CountryDataSerializer(serializers.ModelSerializer):
	class Meta:
		model = CountryData
		fields = ("Country", "TotalCases", "NewCases", "TotalDeaths", "NewDeaths", "TotalRecovered", "ActiveCases", "Serious")