1
cc21 Apr 11, 2015
|
2
wph95 Apr 11, 2015
评论(comment)模型(model)加个ForeignKey 连到Product
comment = models.ForeignKey("Product") 然后 product.comment_set.all()就是所有的评论queryset |