📅  最后修改于: 2022-03-11 14:46:21.441000             🧑  作者: Mango
Transaction.objects.values('created_at__date').annotate(count=Count('id')).values('created_at__date', 'count').order_by('created_at__date')