django 关联表查询
django 关联表查询1.新建serializers.py文件 from rest_framework import serializers from .models import Grade,Course,Student,OnLine class StudentSerialize(serializers.ModelSerializer): class Meta: model = Student # 要查找的表 fields = '__
原创
2021-04-15 17:34:18 ·
435 阅读 ·
0 评论