变量 pagination_html是一个方法返回的html代码,需要在前端渲染出来,不是当字符串显示
<!-- /.box-body --> {% autoescape off %} {# 关闭特殊字符转换 #} {# 分页导航条 #} {{ pagination_html }} {% endautoescape %}