90177ab9fc
The last_paid method used DoesNotExist exception to handle situation where no proper payment models were found. However, the syntax was wrong and it should have used Payment.DoesNotExist. This was fixed.