标签:
from django.db.models import Count Members.objects.values(‘designation‘).annotate(dcount=Count(‘designation‘))
django group_by
原文地址:http://www.cnblogs.com/zhaojia-dream/p/4520102.html