StudE-Backend/stude/courses/serializers.py

9 lines
187 B
Python
Raw Normal View History

2023-06-27 14:16:40 +08:00
from rest_framework import serializers
from .models import Course
class CourseSerializer(serializers.ModelSerializer):
class Meta:
model = Course
fields = '__all__'