摘要: F查询: from django.db.models import F # 查询阅读数大于评论数的,书名 ret = models.Book.objects.filter(read_num__gt=F("comment_num")) print(ret) print(ret.values("titl 阅读全文
posted @ 2020-04-25 17:57 手可摘星辰。 阅读(158) 评论(0) 推荐(0) 编辑