Page MenuHomec4science

serializers.py
No OneTemporary

File Metadata

Created
Mon, Nov 4, 04:17

serializers.py

from rest_framework import serializers
from .models import Journal, Issn
class JournalSerializer(serializers.ModelSerializer):
issn = serializers.StringRelatedField(many=True)
class Meta:
model = Journal
fields = '__all__'
class IssnSerializer(serializers.ModelSerializer):
class Meta:
model = Issn
fields = '__all__'

Event Timeline