阅读背景:

如何通过过滤桥接表字段订购查询集?

来源:互联网 

Given the following models

鉴于以下模型

class Blog(models.Model):
    followers = models.ManyToManyField(User, through='Follow')

class Follow(models.Model):
    blog = models.ForeignKey(Blog)
    user = models.ForeignKey(User)
    created = models.DateField(auto_now_add=True)
class Blo



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

分享到: