from rest_framework import serializers
from .models import *


class UserSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = User
        fields = '__all__'


class WriterSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Writer
        fields = '__all__'


class ArticleSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Article
        fields = '__all__'


class FavoriteSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Favorites_users
        fields = '__all__'


class BookmarkSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Bookmark_users
        fields = '__all__'

016008a376b792e65d14538b079d78423f91a920
<mask token>


class ArticleSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Article
        fields = '__all__'


class FavoriteSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Favorites_users
        fields = '__all__'


class BookmarkSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Bookmark_users
        fields = '__all__'

<mask token>


class WriterSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Writer
        fields = '__all__'


class ArticleSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Article
        fields = '__all__'


class FavoriteSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Favorites_users
        fields = '__all__'


class BookmarkSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Bookmark_users
        fields = '__all__'

<mask token>


class UserSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = User
        fields = '__all__'


class WriterSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Writer
        fields = '__all__'


class ArticleSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Article
        fields = '__all__'


class FavoriteSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Favorites_users
        fields = '__all__'


class BookmarkSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Bookmark_users
        fields = '__all__'

from rest_framework import serializers
from .models import *


class UserSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = User
        fields = '__all__'


class WriterSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Writer
        fields = '__all__'


class ArticleSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Article
        fields = '__all__'


class FavoriteSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Favorites_users
        fields = '__all__'


class BookmarkSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = Bookmark_users
        fields = '__all__'
