how to count in django models like in one model two foreign key field? based on first foreign key field second one should filter and give counts?

前端 未结 0 1409
一向
一向 2021-01-17 15:36

I just want to know how to count list like get all parents, for all the parents having multiple child, now need to count only child from respected parent.

here is my

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