阅读背景:

Django queryset根据日期返回外键中每个项目的第一个

来源:互联网 

need to get a queryset with the first book (by a date field) for each author (related to by foreign key) ...is there a Django ORM way to do this (without custom SQL preferred but acceptable) need to get a queryset with the first book (by




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: