Skip to content

Commit

Permalink
Merge pull request #7545 from kuzmoyev/master
Browse files Browse the repository at this point in the history
Include month-ago day to traffic data
  • Loading branch information
stsewd authored Oct 7, 2020
2 parents 2d64328 + d4247db commit 2a519f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readthedocs/analytics/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def page_views_by_date(cls, project_slug, since=None):

queryset = cls.objects.filter(
project__slug=project_slug,
date__gt=since,
date__gte=since,
).values('date').annotate(total_views=Sum('view_count')).order_by('date')

count_dict = dict(
Expand Down

0 comments on commit 2a519f1

Please sign in to comment.