Created
October 17, 2014 11:38
-
-
Save wunki/6fc60c0bf5f8173573a9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
readers_last_week = Reader.objects\ | |
.filter(completed_at__range=(previous_monday, | |
previous_sunday)).count()\ | |
.distinct('user')\ | |
.count() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment