03 2017 档案

摘要:#q条件from django.db.models import Qq = Q(name__startswith="p") | Q(name__startswith="l") #or条件v =models.Book.objects.filter(q).values("name")print(v)#匹 阅读全文
posted @ 2017-03-19 13:31 李瑞鑫 阅读(1144) 评论(0) 推荐(0)
摘要:1 阅读全文
posted @ 2017-03-05 12:05 李瑞鑫 阅读(152) 评论(0) 推荐(0)