摘要:
1. 复杂版 统计,通过跨表查询和timedate模块过滤找到 1 from django.db.models import Count 2 3 class TongJiView(View): 4 def today(self): 5 import datetime 6 today=datetime 阅读全文
摘要:
复习先知 复杂版 将字段设置联合唯一 1 class ClassStudyRecordView(View): 2 def get(self,request): 3 ClassStudyRecordlist=ClassStudyRecord.objects.all() 4 return render( 阅读全文