查询条件 时间可以直接比较大小

Entry.objects.filter(pub_date__lte='2006-01-01')

posted on 2016-05-30 00:30  小作一个  阅读(190)  评论(0编辑  收藏  举报

导航