摘要: 过滤Filtering 1 过滤针对于 list,获取所有(对于列表数据可能需要根据字段进行过滤) 2 在请求路径中带过滤条件,对查询结果进行过滤 # models.py 表模型 from django.db import models class Book(models.Model): name 阅读全文
posted @ 2022-03-20 16:52 hai起奈 阅读(1980) 评论(0) 推荐(0) 编辑