from django.db.models import Count, Min, Max, Sum obj02 = models.UserInfo.objects.values('ut_id').annotate(f=Count('id')) ...
確定! 回上一頁