How to do counts into get_queryset() functions, using Django Rest Framework and viewsets?

前端 未结 0 1408
孤独总比滥情好
孤独总比滥情好 2020-12-18 21:10

I want to do a query inside the get_queryset() function and retorn some totals. But this function just return an QS object. I have the following code into my views.py<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题