摘要:
将日期相同的数据统计在一起a_count = [ {'create_time': '2020-03-05', 'total_len': 1, 'count_invite': 1}, {'create_time': '2020-03-11', 'total_len': 2, 'count_invite 阅读全文
posted @ 2020-03-29 23:13
夜晚的潜水艇
阅读(305)
评论(0)
推荐(0)
摘要:
查询一个月内每天的查询人数 from django.db.models import Count data = ApplicationForm.objects.filter(create_time__year=year, create_time__month=month).extra( select 阅读全文
posted @ 2020-03-29 23:01
夜晚的潜水艇
阅读(1580)
评论(0)
推荐(0)

浙公网安备 33010602011771号