17 lines
466 B
Python
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__'
|