IDDRS_API/admin_api/serializer.py
2023-05-25 16:13:25 +02:00

12 lines
319 B
Python

from rest_framework import serializers
from .models import Level, Standards
class LevelSerializer(serializers.ModelSerializer):
class Meta:
model = Level
fields = '__all__'
class StandardsSerializer(serializers.ModelSerializer):
class Meta:
model = Standards
fields = '__all__'