You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think because the date__gt filter is used (instead of date__gte) the first value (a day exactly a month ago) doesn't get to the output dictionary count_dict. So count_dict.get(date) or 0 is evaluated to zero every time.
The text was updated successfully, but these errors were encountered:
readthedocs.org/readthedocs/analytics/models.py
Lines 102 to 116 in 78e6c08
I think because the
date__gt
filter is used (instead ofdate__gte
) the first value (a day exactly a month ago) doesn't get to the output dictionarycount_dict
. Socount_dict.get(date) or 0
is evaluated to zero every time.The text was updated successfully, but these errors were encountered: