Skip to content

Commit

Permalink
Include month-ago day to traffic data
Browse files Browse the repository at this point in the history
closes #7544
  • Loading branch information
kuzmoyev committed Oct 7, 2020
1 parent 2d64328 commit d4247db
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 d4247db

Please sign in to comment.