djangonize the max and mean columns