摘要: 枚举类型: model层 filter当天之内的时间 from django.utils.timezone import now, timedelta start = now().date() end = start + timedelta(days=1) time.objects.filter(c 阅读全文
posted @ 2017-09-04 15:12 XiaO天 阅读(151) 评论(0) 推荐(0) 编辑