from djoser.serializers import TokenSerializer from rest_framework import serializers from djoser.conf import settings as djoser_settings from .models import * class UserSerializer(serializers.ModelSerializer): class Meta: model = User fields = '__all__' class ProfileSerializer(serializers.ModelSerializer): class Meta: model = Profile fields = '__all__' class ClassroomSerializer(serializers.ModelSerializer): class Meta: model = Classroom fields = '__all__'