Simple formula for Django web framework