mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 06:19:24 +08:00
9 lines
187 B
Python
9 lines
187 B
Python
|
from rest_framework import serializers
|
||
|
from .models import Course
|
||
|
|
||
|
|
||
|
class CourseSerializer(serializers.ModelSerializer):
|
||
|
class Meta:
|
||
|
model = Course
|
||
|
fields = '__all__'
|