Django - order_by multiple related fields doesn't work

后端 未结 0 333
小蘑菇
小蘑菇 2021-01-03 15:32

I am trying to order a qs by multiple related fields. I have a User and Credits model. Every User has a related Credits object. I want to rank/order a list of Users based on

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