You want to get the Category , ordered by number of Hero in them. You can do this. Category.objects.annotate( hero_count ...
確定! 回上一頁