摘要: def test(request): t = '2019-12-23 16:25:00' a = datetime.strptime(t, '%Y-%m-%d %H:%M:%S') print(a) print(type(a)) objs = Author.objects.filter(time__ 阅读全文
posted @ 2019-12-24 00:33 real-admin 阅读(99) 评论(0) 推荐(0) 编辑