from rest_framework import serializers
from .models import News, IndexPrice, NewsTech


class NewsSerializer(serializers.ModelSerializer):


    class Meta:
        model = News
        fields = '__all__'


class IndexPriceSerializer(serializers.ModelSerializer):


    class Meta:
        model = IndexPrice
        fields = '__all__'


class NewsTechSerializer(serializers.ModelSerializer):


    class Meta:
        model = NewsTech
        fields = '__all__'

97142518b203a2bb2ae6931a93a5c9a5ecda6c61
<mask token>


class NewsTechSerializer(serializers.ModelSerializer):


    class Meta:
        model = NewsTech
        fields = '__all__'

<mask token>


class IndexPriceSerializer(serializers.ModelSerializer):


    class Meta:
        model = IndexPrice
        fields = '__all__'


class NewsTechSerializer(serializers.ModelSerializer):


    class Meta:
        model = NewsTech
        fields = '__all__'

<mask token>


class NewsSerializer(serializers.ModelSerializer):


    class Meta:
        model = News
        fields = '__all__'


class IndexPriceSerializer(serializers.ModelSerializer):


    class Meta:
        model = IndexPrice
        fields = '__all__'


class NewsTechSerializer(serializers.ModelSerializer):


    class Meta:
        model = NewsTech
        fields = '__all__'

from rest_framework import serializers
from .models import News, IndexPrice, NewsTech


class NewsSerializer(serializers.ModelSerializer):


    class Meta:
        model = News
        fields = '__all__'


class IndexPriceSerializer(serializers.ModelSerializer):


    class Meta:
        model = IndexPrice
        fields = '__all__'


class NewsTechSerializer(serializers.ModelSerializer):


    class Meta:
        model = NewsTech
        fields = '__all__'
