from rest_framework import serializers

from authors.models import Authors


class AuthorsSerializer(serializers.ModelSerializer):
    class Meta:
        model = Authors
        fields = "__all__"

60c73ea6c86a1623933821acaa1a66c7f97ed5ff
<mask token>

<mask token>


class AuthorsSerializer(serializers.ModelSerializer):


    class Meta:
        model = Authors
        fields = '__all__'

from rest_framework import serializers
from authors.models import Authors


class AuthorsSerializer(serializers.ModelSerializer):


    class Meta:
        model = Authors
        fields = '__all__'

from rest_framework import serializers

from authors.models import Authors


class AuthorsSerializer(serializers.ModelSerializer):
    class Meta:
        model = Authors
        fields = "__all__"
