我有数据库,目前从我的数据库中,它在我的模板(HTML 表)页面中显示如下。
sno--scene--frames--empID
1------001----24-----100
2------002----34-----100
3------003----20-----101
4------004----15-----101
5------005----10-----100
但我想像这样显示(下)。如何从HTML
(表)中得到这个。我正在使用 Python-Django。
sno---scene---frames---empID
1--------001-----24-------100
2--------002-----34-------100
3--------005-----10-------100
------------- tot=68
1------003-----20--------101
2------004-----15--------101
-------------tot=35