Skip to content

Commit d4247db

Browse files
author
kuzmoyev
committed
Include month-ago day to traffic data
closes #7544
1 parent 2d64328 commit d4247db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readthedocs/analytics/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def page_views_by_date(cls, project_slug, since=None):
104104

105105
queryset = cls.objects.filter(
106106
project__slug=project_slug,
107-
date__gt=since,
107+
date__gte=since,
108108
).values('date').annotate(total_views=Sum('view_count')).order_by('date')
109109

110110
count_dict = dict(

0 commit comments

Comments
 (0)