IDDRS_API/data_api/serializers.py
2023-11-20 15:31:13 +01:00

17 lines
466 B
Python

from rest_framework import serializers
from .models import Levels, StandardsList, FileEvent
class LevelSerializer(serializers.ModelSerializer):
class Meta:
model = Levels
fields = '__all__'
class StandardsSerializer(serializers.ModelSerializer):
class Meta:
model = StandardsList
fields = '__all__'
class FileEventSerializer(serializers.ModelSerializer):
class Meta:
model = FileEvent
fields = '__all__'