Mercurial > public > sg101
diff gpp/donations/models.py @ 65:9fabeabd89d4
Donations: cleaned up logging. Use settings.DONATIONS_DEBUG to decide how to filter on test_ipn records.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 27 Jun 2009 21:56:56 +0000 |
parents | f77a1cdd7a46 |
children | 75ea1a8be7f2 |
line wrap: on
line diff
--- a/gpp/donations/models.py Sat Jun 27 21:44:52 2009 +0000 +++ b/gpp/donations/models.py Sat Jun 27 21:56:56 2009 +0000 @@ -30,7 +30,7 @@ qs = self.filter(payment_date__year=year, payment_date__month=month, - test_ipn=False).select_related('user') + test_ipn=settings.DONATIONS_DEBUG).select_related('user') gross = decimal.Decimal() net = decimal.Decimal()