Skip to content
Snippets Groups Projects
serializers.py 198 B
from news.models import Article
from rest_framework import serializers


class ArticleListSerializer(serializers.ModelSerializer):
    class Meta:
        model = Article
        fields = '__all__'