QuerySets 只在需要取值时才进行数据库查询,惰性查询的实现除了避免不必要的数据库查询外,还可以支持链式过滤,方便进行更复杂的查询操作。
https://blog.huguotao.com/post/django-lazy-query