How can i get the greater of two different Decimal fields for a model using a Django query?
For example if i have a model Month with fields called income_actual and income_projected, how do i return the greater value?
I have previously used the MySQL GREATEST() function to do it but i cant work out how to do it in Django.