from rest_framework import serializers
from .models import Follower, Following
from django.contrib.auth.models import User


class FollowerSerializer(serializers.ModelSerializer):


    class Meta:
        model = Follower
        fields = '__all__'


class FollowingSerializer(serializers.ModelSerializer):


    class Meta:
        model = Following
        fields = '__all__'

db7bfb1161c02db295d4dcf3513e3bbea695918f
<mask token>

<mask token>


class FollowingSerializer(serializers.ModelSerializer):


    class Meta:
        model = Following
        fields = '__all__'

<mask token>


class FollowerSerializer(serializers.ModelSerializer):


    class Meta:
        model = Follower
        fields = '__all__'


class FollowingSerializer(serializers.ModelSerializer):


    class Meta:
        model = Following
        fields = '__all__'

from rest_framework import serializers
from .models import Follower, Following
from django.contrib.auth.models import User


class FollowerSerializer(serializers.ModelSerializer):


    class Meta:
        model = Follower
        fields = '__all__'


class FollowingSerializer(serializers.ModelSerializer):


    class Meta:
        model = Following
        fields = '__all__'
