fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix fav
[wolnelektury.git]
/
src
/
annoy
/
models.py
diff --git
a/src/annoy/models.py
b/src/annoy/models.py
index
638da5e
..
e1604bb
100644
(file)
--- a/
src/annoy/models.py
+++ b/
src/annoy/models.py
@@
-127,7
+127,7
@@
class Banner(models.Model):
progress = PayUOrder.objects.filter(
completed_at__gte=self.since,
completed_at__lte=self.until,
progress = PayUOrder.objects.filter(
completed_at__gte=self.since,
completed_at__lte=self.until,
- ).aggregate(c=models.Sum('schedule__amount'))['c']
+ ).aggregate(c=models.Sum('schedule__amount'))['c']
or 0
for schedule in Schedule.objects.filter(
method='paypal',
for schedule in Schedule.objects.filter(
method='paypal',