<reponame>milindparvatia/StockMarketApp<filename>app/serializers.py
from rest_framework import serializers
from app.models import CompanyList

class CompanyListSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = CompanyList
        fields = ('company_name',)
from rest_framework import serializers
from app.models import CompanyList

class CompanyListSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = CompanyList
        fields = ('company_name',)