Django Group par date du champ DateTime
Transaction.objects.values('created_at__date').annotate(count=Count('id')).values('created_at__date', 'count').order_by('created_at__date')
Thoughtful Tapir