摘要: today = datetime.datetime.now() 1 Current year Order.objects.filter(created_at__year=today.year) 2 Current month Order.objects.filter(created_at__year 阅读全文
posted @ 2018-03-09 12:03 Jeff_blog 阅读(680) 评论(0) 推荐(0) 编辑