摘要: 最近在学习django的分组查询,发现使用通常的values加annotate方法,获取不到我想要的结果,后来通过查询官方文档得到答案 一、问题描述 1.1 模型 from django.db import models # Create your models here. class Goods( 阅读全文
posted @ 2023-06-11 14:58 未来可期_Durant 阅读(48) 评论(0) 推荐(0) 编辑