How can I fill a table view based on some calculous, resorting to django?

Thanks for the input, but I figured what the problem was.