django app for tracking lottery winnings and when it is worth it to play