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 李瑞鑫 阅读(1129) 评论(0) 推荐(0) 编辑
摘要:1 阅读全文
posted @ 2017-03-05 12:05 李瑞鑫 阅读(147) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示