摘要: 举例:表名称为case 进入命令行orm 查询 1:python manage.py shell 2:from apps.models import * 1:查询该表所以信息 all函数: case.objects.all(); 2:筛选表中字段信息,get 函数, 1:根据test_name查询数 阅读全文
posted @ 2019-06-16 16:03 mahaining 阅读(164) 评论(0) 推荐(0) 编辑