# up task
This commit is contained in:
parent
5ee0f705c3
commit
4c22983f23
|
@ -75,6 +75,7 @@ def update_daily_statistic():
|
||||||
increment = ret[d] - ret[d-timedelta(days=1)]
|
increment = ret[d] - ret[d-timedelta(days=1)]
|
||||||
history, created = MosqPostStatistic.objects.update_or_create(date=d, total=ret[d], increment=increment)
|
history, created = MosqPostStatistic.objects.update_or_create(date=d, total=ret[d], increment=increment)
|
||||||
is_first = False
|
is_first = False
|
||||||
|
return _date_list
|
||||||
|
|
||||||
|
|
||||||
@task()
|
@task()
|
||||||
|
|
Loading…
Reference in New Issue