from rest_framework import serializers
from .models import *

class ForecastSerializer(serializers.ModelSerializer):
    class Meta():
        model = Forecast
        fields = ('place_name','cyclone_id','cyclone_name','image_link','time_of_last_forecast','created_at')
43d0988b7f6e79345bae3f48040486a00b7a49d5
<mask token>

<mask token>


class ForecastSerializer(serializers.ModelSerializer):


    class Meta:
        model = Forecast
        fields = ('place_name', 'cyclone_id', 'cyclone_name', 'image_link',
            'time_of_last_forecast', 'created_at')

from rest_framework import serializers
from .models import *


class ForecastSerializer(serializers.ModelSerializer):


    class Meta:
        model = Forecast
        fields = ('place_name', 'cyclone_id', 'cyclone_name', 'image_link',
            'time_of_last_forecast', 'created_at')

from rest_framework import serializers
from .models import *

class ForecastSerializer(serializers.ModelSerializer):
    class Meta():
        model = Forecast
        fields = ('place_name','cyclone_id','cyclone_name','image_link','time_of_last_forecast','created_at')