annotate (models_a=Subquery(ModelA.objects.filter(...))) 为了使 queryset.models_a 作为对象Modela的查询集。 谢谢你们! 编辑:. 这是我的模特:
確定! 回上一頁