2π
β
I think you problem is only with tablesorter (not with django). The easiest way to leave the last row unsorted (as in a totals row) is to organize you table with thead, tbody and tfoot. Something like:
<thead>
<tr>
....
</tr>
</thead>
<tbody>
<tr> ... </tr>
<tr> ... </tr>
</tbody>
<tfoot>
<tr>
<td>Total</td><td> ... </td> ...
</tr>
</tfoot>
The row nested in the tfoot tag wonβt be sorted.
π€jheyse
Source:stackexchange.com