2014年10月15日
摘要: 转自:http://www.douban.com/note/301166150/ django model filter 条件过滤,及多表连接查询、反向查询,某字段的distinct 1.多表连接查询:当我知道这点的时候顿时觉得django太NX了。 class A(models.Model): name = models.CharField(u'名称') ... 阅读全文
posted @ 2014-10-15 20:07 qinfengxiaoyue 阅读(7012) 评论(0) 推荐(2) 编辑