摘要:
主要内容:https://www.cnblogs.com/maple-shaw/articles/9502602.html 1 聚合和分组: a : 先导入聚合函数: from django.db.models import Max, Min, Avg, Count, Sum b : 可以为聚合函数 阅读全文
摘要:
主要内容:https://www.cnblogs.com/maple-shaw/articles/9285269.html 1 组件 a : 定义:可以将常用的页面内容如导航条,页尾信息等组件保存在单独的文件中,然后在需要使用的地方按如下语法导入即可 b : 语法: {% include '组件名' 阅读全文