from rest_framework import serializers
from .models import Application
from blogger.serializers import BloggerSerializer


class ApplicationSerializer(serializers.ModelSerializer):
    blogger = BloggerSerializer()


    class Meta:
        model = Application
        fields = ['id', 'blogger', 'timestamp', 'offer']


class ApplicationSerializerForCount(serializers.ModelSerializer):


    class Meta:
        fields = ['id']

f080c27d71a0bb7d8dfe27d427208222324863d5
<mask token>


class ApplicationSerializerForCount(serializers.ModelSerializer):


    class Meta:
        fields = ['id']

<mask token>


class ApplicationSerializer(serializers.ModelSerializer):
    <mask token>


    class Meta:
        model = Application
        fields = ['id', 'blogger', 'timestamp', 'offer']


class ApplicationSerializerForCount(serializers.ModelSerializer):


    class Meta:
        fields = ['id']

<mask token>


class ApplicationSerializer(serializers.ModelSerializer):
    blogger = BloggerSerializer()


    class Meta:
        model = Application
        fields = ['id', 'blogger', 'timestamp', 'offer']


class ApplicationSerializerForCount(serializers.ModelSerializer):


    class Meta:
        fields = ['id']

from rest_framework import serializers
from .models import Application
from blogger.serializers import BloggerSerializer


class ApplicationSerializer(serializers.ModelSerializer):
    blogger = BloggerSerializer()


    class Meta:
        model = Application
        fields = ['id', 'blogger', 'timestamp', 'offer']


class ApplicationSerializerForCount(serializers.ModelSerializer):


    class Meta:
        fields = ['id']
